Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 106.4 kB / 16.45 MB, free: 6.43 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.002122/0.002123, allocations: 189.6 kB / 17.39 MB, free: 5.691 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05306/0.05306, allocations: 8.098 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1167, allocations: 51.52 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.004011/0.1208, allocations: 2.451 MB / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1233, allocations: 1.493 MB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1234, allocations: 8 kB / 470 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.1239, allocations: 163 kB / 470.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.1244, allocations: 186.8 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1261, allocations: 0.9529 MB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.1267, allocations: 430 kB / 471.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.1269, allocations: 152.1 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1272, allocations: 179.3 kB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.1275, allocations: 223.1 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.1276, allocations: 36 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.128, allocations: 203.8 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-05/0.1281, allocations: 87.67 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.1283, allocations: 202.9 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.129, allocations: 0.5336 MB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.129, allocations: 4 kB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.129, allocations: 3.938 kB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.129, allocations: 0 / 473.3 MB, free: 10.87 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003672/0.1327, allocations: 1.127 MB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1328, allocations: 12.03 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1329, allocations: 48.45 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.1334, allocations: 335.4 kB / 474.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1334, allocations: 20.94 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.1335, allocations: 36.38 kB / 474.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.1341, allocations: 413.3 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1342, allocations: 192 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1342, allocations: 19.88 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1342, allocations: 8 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.1349, allocations: 394.1 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1371, allocations: 1.483 MB / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1382, allocations: 495.1 kB / 477.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.1386, allocations: 244.8 kB / 477.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.1387, allocations: 4 kB / 477.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1388, allocations: 46.56 kB / 477.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.466e-06/0.1388, allocations: 3.938 kB / 477.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004475/0.1433, allocations: 1.51 MB / 479.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1433, allocations: 59.41 kB / 479.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.1437, allocations: 266.5 kB / 479.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.1438, allocations: 37.7 kB / 479.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.144, allocations: 168.9 kB / 479.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1441, allocations: 149.8 kB / 480.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.1443, allocations: 86.23 kB / 480.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1445, allocations: 350.7 kB / 480.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.1449, allocations: 209 kB / 480.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.1453, allocations: 221 kB / 480.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.146, allocations: 495.5 kB / 481.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1461, allocations: 0 / 481.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002084/0.1481, allocations: 0.8872 MB / 482.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1482, allocations: 4 kB / 482.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1482, allocations: 0 / 482.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.15, allocations: 398.1 kB / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.1503, allocations: 59.91 kB / 482.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/0.1571, allocations: 5.923 MB / 488.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.1574, allocations: 35.62 kB / 488.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.1574, allocations: 23.92 kB / 488.7 MB, free: 10.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.1577, allocations: 161.7 kB / 488.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.1577, allocations: 39.52 kB / 488.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.16, allocations: 0.9039 MB / 489.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.16, allocations: 4 kB / 489.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.16, allocations: 0 / 489.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.16, allocations: 0 / 489.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.1606, allocations: 0.5247 MB / 490.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1606, allocations: 4 kB / 490.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1608, allocations: 59.91 kB / 490.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.1625, allocations: 390.1 kB / 490.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.1625, allocations: 16 kB / 490.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006432/0.169, allocations: 5.859 MB / 496.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.169, allocations: 4 kB / 496.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.1711, allocations: 0.9314 MB / 497.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1713, allocations: 124.5 kB / 497.7 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.1713, allocations: 4 kB / 497.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.1716, allocations: 35.66 kB / 497.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.1718, allocations: 44.33 kB / 497.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.1718, allocations: 23.97 kB / 497.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.172, allocations: 182 kB / 498 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.172, allocations: 4 kB / 498 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.1727, allocations: 163.8 kB / 498.2 MB, free: 0.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002182/0.1729, allocations: 123.2 kB / 498.3 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.1748, allocations: 0.9975 MB / 499.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1749, allocations: 4 kB / 499.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.1762, allocations: 0.7327 MB / 0.4883 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.1766, allocations: 55.22 kB / 0.4884 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1779, allocations: 0.7025 MB / 0.4891 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1783, allocations: 0.8013 MB / 0.4898 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.1785, allocations: 50.92 kB / 0.4899 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.1786, allocations: 39.36 kB / 0.4899 GB, free: 12.94 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1786, allocations: 0 / 0.4899 GB, free: 12.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01774/0.1963, allocations: 10.3 MB / 0.5 GB, free: 2.707 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)