Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 115.5 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1659/0.1659, allocations: 38.01 MB / 329.4 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.41 kB / 398.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08326, allocations: 58.07 MB / 456.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005466/0.08876, allocations: 5.065 MB / 461.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.09107, allocations: 1.616 MB / 463.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.0914, allocations: 27.81 kB / 463.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.09233, allocations: 342.8 kB / 463.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.09286, allocations: 235.1 kB / 463.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.09343, allocations: 219.6 kB / 463.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.09402, allocations: 0.5612 MB / 464.5 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.09448, allocations: 317 kB / 464.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.09488, allocations: 254.9 kB / 465 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.09537, allocations: 378.9 kB / 465.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.09544, allocations: 40 kB / 465.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.09585, allocations: 235.6 kB / 465.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.09606, allocations: 231.5 kB / 465.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.09632, allocations: 258.7 kB / 466.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.09695, allocations: 0.666 MB / 466.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.09696, allocations: 0 / 466.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09697, allocations: 4 kB / 466.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.09698, allocations: 0 / 466.8 MB, free: 13.93 MB / 350.1 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.001212/0.0982, allocations: 0.7621 MB / 467.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.09825, allocations: 15.89 kB / 467.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.107e-05/0.09835, allocations: 86.69 kB / 467.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.09893, allocations: 96.22 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.09949, allocations: 411.2 kB / 468.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.09952, allocations: 25.38 kB / 468.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.09966, allocations: 55.91 kB / 468.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.1006, allocations: 0.6843 MB / 469 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1006, allocations: 0 / 469 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.1006, allocations: 12 kB / 469 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.1008, allocations: 52.91 kB / 469 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.1017, allocations: 0.6752 MB / 469.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.1048, allocations: 2.433 MB / 472.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.1053, allocations: 359.9 kB / 472.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.1056, allocations: 250.3 kB / 472.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1057, allocations: 12.22 kB / 472.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1057, allocations: 42.78 kB / 472.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/0.1057, allocations: 3.938 kB / 472.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002052/0.1078, allocations: 1.463 MB / 474.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1078, allocations: 81.11 kB / 474.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1081, allocations: 290.9 kB / 474.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1081, allocations: 41.7 kB / 474.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1083, allocations: 247.7 kB / 474.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1084, allocations: 157.7 kB / 475 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.1085, allocations: 94.23 kB / 475.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1086, allocations: 342.8 kB / 475.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1089, allocations: 217 kB / 475.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.1093, allocations: 361.8 kB / 476 MB, free: 4.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.1101, allocations: 0.6239 MB / 476.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1101, allocations: 0 / 476.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001148/0.1112, allocations: 0.7318 MB / 477.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1113, allocations: 4 kB / 477.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007979/0.1121, allocations: 0.5186 MB / 477.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.1124, allocations: 76.78 kB / 478 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.1127, allocations: 108 kB / 478.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1142, allocations: 1.73 MB / 479.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.1145, allocations: 27.97 kB / 479.8 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.1145, allocations: 20 kB / 479.9 MB, free: 224 kB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.1147, allocations: 213.6 kB / 480.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1148, allocations: 39.64 kB / 480.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.1157, allocations: 0.5707 MB / 480.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.1157, allocations: 15.98 kB / 480.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1157, allocations: 0 / 480.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1157, allocations: 0 / 480.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.1174, allocations: 1.207 MB / 481.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1174, allocations: 0 / 481.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.1178, allocations: 83.89 kB / 482 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1178, allocations: 4 kB / 482 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.1178, allocations: 11.98 kB / 482 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1178, allocations: 0 / 482 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1178, allocations: 4 kB / 482 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1189, allocations: 0.9297 MB / 482.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.119, allocations: 112.6 kB / 483 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.119, allocations: 12.03 kB / 483.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1193, allocations: 15.98 kB / 483.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.1193, allocations: 27.91 kB / 483.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.1194, allocations: 11.98 kB / 483.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1195, allocations: 202 kB / 483.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1195, allocations: 0 / 483.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004403/0.12, allocations: 120 kB / 483.4 MB, free: 12.52 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/0.1214, allocations: 1.51 MB / 484.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.1225, allocations: 0.7779 MB / 485.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1225, allocations: 0 / 485.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.1228, allocations: 259.5 kB / 486 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1233, allocations: 78.84 kB / 486 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.1285, allocations: 4.766 MB / 490.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.1289, allocations: 0.8782 MB / 491.7 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.1292, allocations: 123.2 kB / 491.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.1294, allocations: 147.4 kB / 492 MB, free: 3.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1294, allocations: 4 kB / 492 MB, free: 3.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09411/0.2235, allocations: 8.3 MB / 0.4885 GB, free: 11.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.2238, allocations: 232.8 kB / 0.4888 GB, free: 11.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.071, allocations: 0 / 0.4888 GB, free: 11.29 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)