Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001142/0.001142, allocations: 105.1 kB / 16.92 MB, free: 5.762 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.001198/0.001198, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.27/1.27, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1666/0.1666, allocations: 38.02 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 59.91 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1134, allocations: 58.07 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.00886/0.1223, allocations: 7.549 MB / 464.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.1274, allocations: 4.163 MB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.1279, allocations: 15.94 kB / 468.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.1304, allocations: 1.027 MB / 469.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.1328, allocations: 1.094 MB / 470.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.1336, allocations: 307.2 kB / 471.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.1351, allocations: 1.371 MB / 472.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.1358, allocations: 475.9 kB / 473 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.1367, allocations: 0.5523 MB / 473.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008261/0.1376, allocations: 0.5838 MB / 474.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.1377, allocations: 36 kB / 474.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.1392, allocations: 0.9856 MB / 475.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.1396, allocations: 271.3 kB / 475.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.1399, allocations: 246.8 kB / 475.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1411, allocations: 0.8063 MB / 476.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1411, allocations: 7.984 kB / 476.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1411, allocations: 4 kB / 476.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1411, allocations: 0 / 476.4 MB, free: 4.414 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009523/0.1421, allocations: 0.7883 MB / 477.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1421, allocations: 11.89 kB / 477.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.1422, allocations: 82.7 kB / 477.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.1436, allocations: 136.2 kB / 477.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.144, allocations: 326.3 kB / 477.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.144, allocations: 33.36 kB / 477.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.1441, allocations: 44.36 kB / 477.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1448, allocations: 0.5828 MB / 478.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1448, allocations: 0 / 478.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.1449, allocations: 15.98 kB / 478.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.1449, allocations: 36.64 kB / 478.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.1454, allocations: 390.1 kB / 478.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1475, allocations: 2.607 MB / 481.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.1481, allocations: 427.6 kB / 481.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.1484, allocations: 214.5 kB / 482.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1484, allocations: 3.938 kB / 482.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1484, allocations: 42.55 kB / 482.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.1484, allocations: 0 / 482.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001518/0.1499, allocations: 0.7615 MB / 482.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.15, allocations: 111.1 kB / 483 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.1503, allocations: 320.5 kB / 483.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1503, allocations: 33.7 kB / 483.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1505, allocations: 247.8 kB / 483.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.1506, allocations: 126.2 kB / 483.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.1507, allocations: 74.14 kB / 483.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1508, allocations: 346.8 kB / 484.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.151, allocations: 124.8 kB / 484.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1512, allocations: 287.4 kB / 484.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.1517, allocations: 452.1 kB / 485 MB, free: 11.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1517, allocations: 0 / 485 MB, free: 11.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000794/0.1525, allocations: 0.5697 MB / 485.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1526, allocations: 8 kB / 485.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1526, allocations: 4 kB / 485.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1529, allocations: 127.4 kB / 485.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1531, allocations: 71.91 kB / 485.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.1555, allocations: 2.559 MB / 488.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1557, allocations: 39.53 kB / 488.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1557, allocations: 20 kB / 488.4 MB, free: 7.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1559, allocations: 198.5 kB / 488.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/0.156, allocations: 39.53 kB / 488.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.1561, allocations: 47.95 kB / 488.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1561, allocations: 4 kB / 488.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.1561, allocations: 15.94 kB / 488.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1561, allocations: 3.984 kB / 488.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1573, allocations: 0.9421 MB / 489.6 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1573, allocations: 3.984 kB / 489.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1575, allocations: 44.08 kB / 489.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.1577, allocations: 115.3 kB / 489.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1577, allocations: 8 kB / 489.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.1599, allocations: 2.548 MB / 492.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1599, allocations: 0 / 492.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.1606, allocations: 0.6266 MB / 493 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.1607, allocations: 116.7 kB / 493.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1608, allocations: 11.94 kB / 493.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1609, allocations: 8 kB / 493.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.161, allocations: 27.91 kB / 493.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.161, allocations: 12 kB / 493.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1612, allocations: 219 kB / 493.3 MB, free: 2.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1612, allocations: 0 / 493.3 MB, free: 2.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006457/0.1619, allocations: 163.7 kB / 493.5 MB, free: 2.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000915/0.1628, allocations: 1.165 MB / 494.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.1637, allocations: 0.5537 MB / 495.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1637, allocations: 0 / 495.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.1642, allocations: 342.1 kB / 495.6 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.1648, allocations: 63.84 kB / 495.6 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.1695, allocations: 4.016 MB / 499.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.17, allocations: 0.8785 MB / 0.4888 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.1703, allocations: 74.83 kB / 0.4889 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1704, allocations: 115.4 kB / 0.489 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1704, allocations: 4 kB / 0.489 GB, free: 10.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/1.949, allocations: 7.47 MB / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.6, allocations: 8.062 kB / 0.4963 GB, free: 3.434 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)