Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 181.2 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 90.22 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2657/0.2657, allocations: 37.99 MB / 347.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.662e-05, allocations: 0 / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 56.32 MB / 466.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4949/0.6088, allocations: 99.43 MB / 0.5524 GB, free: 9.293 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.6091, allocations: 80.08 kB / 0.5525 GB, free: 9.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05544/0.6646, allocations: 13.17 MB / 0.5654 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6646, allocations: 0 / 0.5654 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.406e-05/0.6647, allocations: 16 kB / 0.5654 GB, free: 500 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001694/0.6664, allocations: 0.6671 MB / 0.566 GB, free: 15.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.6664, allocations: 8.031 kB / 0.5661 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.6674, allocations: 99.27 kB / 0.5661 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.6711, allocations: 0.848 MB / 0.567 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6712, allocations: 12 kB / 0.567 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.6714, allocations: 32.17 kB / 0.567 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/0.6726, allocations: 462 kB / 0.5675 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.674, allocations: 0.605 MB / 0.568 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.674, allocations: 3.984 kB / 0.5681 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.6741, allocations: 0 / 0.5681 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/0.6743, allocations: 44.75 kB / 0.5681 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006372/0.6807, allocations: 2.412 MB / 0.5704 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.6816, allocations: 352.3 kB / 0.5708 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.6821, allocations: 260.1 kB / 0.571 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.6822, allocations: 19.83 kB / 0.5711 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.6823, allocations: 38.66 kB / 0.5711 GB, free: 11.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 6.071e-06/0.6823, allocations: 0 / 0.5711 GB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.005353/0.6877, allocations: 1.567 MB / 0.5726 GB, free: 10.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.6878, allocations: 85.14 kB / 0.5727 GB, free: 9.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.6881, allocations: 233.2 kB / 0.5729 GB, free: 9.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.6882, allocations: 25.7 kB / 0.5729 GB, free: 9.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.6884, allocations: 306 kB / 0.5732 GB, free: 9.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.6886, allocations: 158.8 kB / 0.5734 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.6887, allocations: 0 / 0.5734 GB, free: 9.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6888, allocations: 330 kB / 0.5737 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.6893, allocations: 219.7 kB / 0.5739 GB, free: 8.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.69, allocations: 363.6 kB / 0.5743 GB, free: 8.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.6914, allocations: 392.6 kB / 0.5746 GB, free: 8.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6914, allocations: 4 kB / 0.5746 GB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002601/0.694, allocations: 0.7863 MB / 0.5754 GB, free: 7.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6941, allocations: 4 kB / 0.5754 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00213/0.6962, allocations: 0.6158 MB / 0.576 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.6967, allocations: 75.91 kB / 0.5761 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.6975, allocations: 99.19 kB / 0.5762 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.6998, allocations: 1.53 MB / 0.5777 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.7005, allocations: 19.97 kB / 0.5777 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.7006, allocations: 23.48 kB / 0.5777 GB, free: 5.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.7008, allocations: 120.8 kB / 0.5778 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001929/0.7027, allocations: 0.6058 MB / 0.5784 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.7029, allocations: 31.53 kB / 0.5785 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.7049, allocations: 0.6441 MB / 0.5791 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/0.7051, allocations: 23.17 kB / 0.5791 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.7051, allocations: 4.031 kB / 0.5791 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7051, allocations: 3.984 kB / 0.5791 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.709, allocations: 1.245 MB / 0.5803 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.7091, allocations: 4 kB / 0.5803 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.7099, allocations: 82.5 kB / 0.5804 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.7099, allocations: 4 kB / 0.5804 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.7099, allocations: 7.984 kB / 0.5804 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.71, allocations: 3.938 kB / 0.5804 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.71, allocations: 4 kB / 0.5804 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.7127, allocations: 1.104 MB / 0.5815 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.7129, allocations: 108.2 kB / 0.5816 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.713, allocations: 0 / 0.5816 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.7134, allocations: 27.94 kB / 0.5816 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.7135, allocations: 23.53 kB / 0.5817 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.7136, allocations: 8 kB / 0.5817 GB, free: 2.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.7138, allocations: 177.7 kB / 0.5818 GB, free: 1.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7139, allocations: 0 / 0.5818 GB, free: 1.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008443/0.7147, allocations: 127.9 kB / 0.582 GB, free: 1.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003353/0.7181, allocations: 1.937 MB / 0.5838 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.7199, allocations: 0.6636 MB / 0.5845 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7199, allocations: 0 / 0.5845 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.7205, allocations: 262.5 kB / 0.5847 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.7212, allocations: 60.61 kB / 0.5848 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.7246, allocations: 1.115 MB / 0.5859 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/0.7254, allocations: 0.886 MB / 0.5868 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.7259, allocations: 150.1 kB / 0.5869 GB, free: 13.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7259, allocations: 4 kB / 0.5869 GB, free: 13.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.988/3.714, allocations: 8.466 MB / 0.5952 GB, free: 4.902 MB / 394.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)