Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",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.001025/0.001025, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001118/0.001118, allocations: 183 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 223.4 MB, free: 5.281 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3604/0.3604, allocations: 38.06 MB / 309.7 MB, free: 9.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008415/0.0008418, allocations: 16 kB / 376.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1492, allocations: 56.33 MB / 433 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007365/0.1566, allocations: 5.324 MB / 438.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.161, allocations: 1.938 MB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.1619, allocations: 31.81 kB / 440.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.1626, allocations: 143 kB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1639, allocations: 334.3 kB / 440.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1653, allocations: 347.3 kB / 441.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1666, allocations: 0.8689 MB / 441.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1678, allocations: 0.5708 MB / 442.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.1685, allocations: 274.9 kB / 442.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009297/0.1694, allocations: 458.7 kB / 443.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1696, allocations: 28 kB / 443.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.17, allocations: 115.9 kB / 443.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.1705, allocations: 259.3 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1708, allocations: 137.3 kB / 443.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.172, allocations: 0.6001 MB / 444.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.172, allocations: 4 kB / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.172, allocations: 0 / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.1721, allocations: 0 / 444.3 MB, free: 11.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002001/0.1741, allocations: 0.8006 MB / 445.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1741, allocations: 12.03 kB / 445.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/0.1744, allocations: 102.4 kB / 445.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.1754, allocations: 127.1 kB / 445.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1765, allocations: 0.507 MB / 445.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1766, allocations: 33 kB / 445.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.177, allocations: 135.7 kB / 446 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1784, allocations: 0.8665 MB / 446.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1784, allocations: 0 / 446.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.1785, allocations: 20 kB / 446.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003794/0.1789, allocations: 72.89 kB / 447 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1799, allocations: 0.6166 MB / 447.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.1847, allocations: 3.8 MB / 451.4 MB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1858, allocations: 0.5346 MB / 452 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.1863, allocations: 319 kB / 452.3 MB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.1863, allocations: 4.438 kB / 452.3 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1864, allocations: 42.94 kB / 452.3 MB, free: 2.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.1864, allocations: 0 / 452.3 MB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.003212/0.1896, allocations: 1.844 MB / 454.2 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.1897, allocations: 85.53 kB / 454.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/0.1905, allocations: 413.8 kB / 454.6 MB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.1905, allocations: 29.7 kB / 454.7 MB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.1909, allocations: 327.8 kB / 455 MB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2604/0.4513, allocations: 200.8 kB / 455.2 MB, free: 51.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.4515, allocations: 12.47 kB / 455.2 MB, free: 51.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4516, allocations: 367.9 kB / 455.6 MB, free: 51.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.4522, allocations: 382.6 kB / 455.9 MB, free: 51.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.4529, allocations: 0.5933 MB / 456.5 MB, free: 51.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.4536, allocations: 475.7 kB / 457 MB, free: 51.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4536, allocations: 0 / 457 MB, free: 51.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004146/0.4577, allocations: 1.999 MB / 459 MB, free: 50.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4578, allocations: 12.02 kB / 459 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.4578, allocations: 13.31 kB / 459 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4598, allocations: 0.9588 MB / 460 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.4602, allocations: 118.6 kB / 460.1 MB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008841/0.469, allocations: 7.362 MB / 467.5 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.4697, allocations: 38.14 kB / 467.5 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.4698, allocations: 37.38 kB / 467.5 MB, free: 47.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.4702, allocations: 250.9 kB / 467.8 MB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.4703, allocations: 46.09 kB / 467.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4714, allocations: 0.7334 MB / 468.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4714, allocations: 6.562 kB / 468.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4715, allocations: 0 / 468.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4715, allocations: 3.469 kB / 468.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.4736, allocations: 1.538 MB / 470.1 MB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4737, allocations: 0 / 470.1 MB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.4746, allocations: 186.2 kB / 470.3 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4746, allocations: 3.344 kB / 470.3 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.4747, allocations: 30.45 kB / 470.3 MB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4747, allocations: 6.859 kB / 470.3 MB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4747, allocations: 0 / 470.3 MB, free: 46.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4759, allocations: 0.9924 MB / 471.3 MB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.476, allocations: 128 kB / 471.4 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.4761, allocations: 29.64 kB / 471.5 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4764, allocations: 26.61 kB / 471.5 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.4765, allocations: 44.31 kB / 471.5 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.4765, allocations: 9.281 kB / 471.5 MB, free: 46.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.4768, allocations: 282.4 kB / 471.8 MB, free: 45.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4768, allocations: 0 / 471.8 MB, free: 45.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007627/0.4775, allocations: 214 kB / 472 MB, free: 45.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * 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.001381/0.4789, allocations: 1.562 MB / 473.6 MB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.4811, allocations: 1.443 MB / 475 MB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4811, allocations: 7.219 kB / 475 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.4815, allocations: 310.6 kB / 475.3 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.4821, allocations: 118.5 kB / 475.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/0.4919, allocations: 7.082 MB / 482.5 MB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.4924, allocations: 0.9905 MB / 483.5 MB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000553/0.493, allocations: 205.5 kB / 483.7 MB, free: 39.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.4933, allocations: 228.7 kB / 484 MB, free: 39.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4933, allocations: 0 / 484 MB, free: 39.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.5306, allocations: 16.48 MB / 0.4887 GB, free: 37.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.5308, allocations: 203.6 kB / 0.4889 GB, free: 37.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.592, allocations: 0 / 0.4889 GB, free: 37.24 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: