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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001528/0.001528, allocations: 114.8 kB / 17.13 MB, free: 5.934 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.001779/0.001779, allocations: 194.2 kB / 18.06 MB, free: 5.023 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.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0434/0.0434, allocations: 8.087 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 415.2 MB, free: 21.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07663/0.07784, allocations: 51.51 MB / 466.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003202/0.08107, allocations: 2.447 MB / 469.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.08283, allocations: 1.504 MB / 470.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.08295, allocations: 4 kB / 470.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.08333, allocations: 167 kB / 470.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.0837, allocations: 182.8 kB / 471 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.08527, allocations: 0.9569 MB / 471.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.08571, allocations: 426 kB / 472.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.08593, allocations: 148.1 kB / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.08609, allocations: 183.3 kB / 472.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.08637, allocations: 227.1 kB / 472.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.08643, allocations: 32 kB / 472.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.08677, allocations: 203.8 kB / 473.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.08684, allocations: 83.67 kB / 473.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.087, allocations: 202.9 kB / 473.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.08755, allocations: 0.5374 MB / 473.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08757, allocations: 0 / 473.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08757, allocations: 3.938 kB / 473.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.08759, allocations: 4 kB / 473.9 MB, free: 10.74 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.003596/0.09119, allocations: 1.131 MB / 475.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.09123, allocations: 11.89 kB / 475.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.266e-05/0.09133, allocations: 44.47 kB / 475.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.09172, allocations: 335.4 kB / 475.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.09176, allocations: 28.92 kB / 475.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.09181, allocations: 28.38 kB / 475.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.09243, allocations: 405.4 kB / 475.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.09245, allocations: 192 / 475.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.0925, allocations: 23.92 kB / 475.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.09252, allocations: 8 kB / 475.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.09307, allocations: 394 kB / 476.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.09498, allocations: 1.486 MB / 477.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.09603, allocations: 495.1 kB / 478.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.09637, allocations: 240.8 kB / 478.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.09644, allocations: 11.98 kB / 478.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.09647, allocations: 38.56 kB / 478.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.745e-06/0.09648, allocations: 3.938 kB / 478.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004549/0.101, allocations: 1.518 MB / 480.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1011, allocations: 55.41 kB / 480.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1014, allocations: 266.6 kB / 480.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1015, allocations: 33.7 kB / 480.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1016, allocations: 172.9 kB / 480.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1017, allocations: 149.8 kB / 480.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.1018, allocations: 86.23 kB / 480.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.102, allocations: 346.8 kB / 481.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.1023, allocations: 213 kB / 481.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.1026, allocations: 221 kB / 481.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.1033, allocations: 495.4 kB / 482.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1034, allocations: 0 / 482.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002134/0.1055, allocations: 0.8872 MB / 483 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1055, allocations: 8 kB / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1055, allocations: 0 / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.1073, allocations: 398.1 kB / 483.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1076, allocations: 63.97 kB / 483.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.1143, allocations: 5.924 MB / 489.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1146, allocations: 35.62 kB / 489.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1147, allocations: 12 kB / 489.4 MB, free: 10.46 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.0001994/0.1149, allocations: 165.8 kB / 489.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.115, allocations: 35.53 kB / 489.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.1173, allocations: 0.9039 MB / 490.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1173, allocations: 12 kB / 490.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1173, allocations: 0 / 490.5 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1173, allocations: 3.984 kB / 490.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.1179, allocations: 0.5247 MB / 491.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1179, allocations: 0 / 491.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1181, allocations: 59.91 kB / 491.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.1198, allocations: 382.1 kB / 491.5 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.1199, allocations: 12 kB / 491.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/0.1261, allocations: 5.862 MB / 497.4 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1262, allocations: 0 / 497.4 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.1283, allocations: 0.9392 MB / 498.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.1285, allocations: 120.5 kB / 498.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.1285, allocations: 8 kB / 498.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.1289, allocations: 39.53 kB / 498.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.129, allocations: 44.39 kB / 498.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.129, allocations: 15.98 kB / 498.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.1292, allocations: 186 kB / 498.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1293, allocations: 0 / 498.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.1298, allocations: 163.8 kB / 498.9 MB, free: 472 kB / 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.0001922/0.13, allocations: 131.2 kB / 499 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.132, allocations: 0.9899 MB / 500 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.132, allocations: 0 / 500 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.1333, allocations: 0.7482 MB / 0.489 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1338, allocations: 48.48 kB / 0.489 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1349, allocations: 0.7432 MB / 0.4898 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1353, allocations: 0.8013 MB / 0.4905 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.1354, allocations: 39.36 kB / 0.4906 GB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1354, allocations: 0 / 0.4906 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01167/0.1471, allocations: 9.819 MB / 0.5002 GB, free: 3.004 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)