Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 105 kB / 16.45 MB, free: 6.391 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.001636/0.001636, allocations: 189 kB / 17.39 MB, free: 5.648 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05401/0.05401, allocations: 8.099 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 51.53 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003318/0.1228, allocations: 2.093 MB / 468.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1251, allocations: 1.528 MB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1252, allocations: 4 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.1256, allocations: 147.2 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.126, allocations: 155 kB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.1278, allocations: 1.072 MB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.1282, allocations: 314.5 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1284, allocations: 120.2 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1285, allocations: 135.5 kB / 471.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1287, allocations: 155.2 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1288, allocations: 28 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1292, allocations: 251.8 kB / 472 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.1292, allocations: 59.83 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1294, allocations: 151.2 kB / 472.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1299, allocations: 490.6 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1299, allocations: 0 / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1299, allocations: 0 / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.13, allocations: 0 / 472.7 MB, free: 11.46 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003828/0.1338, allocations: 1.135 MB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1338, allocations: 8.031 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.1339, allocations: 32.56 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1342, allocations: 287.7 kB / 474.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1343, allocations: 20.94 kB / 474.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.1343, allocations: 28.38 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.1349, allocations: 385 kB / 474.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1349, allocations: 192 / 474.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.135, allocations: 11.94 kB / 474.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.135, allocations: 8 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1355, allocations: 306.1 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.1376, allocations: 1.435 MB / 476.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1386, allocations: 406.6 kB / 476.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.1389, allocations: 181.3 kB / 476.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.139, allocations: 11.98 kB / 476.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.139, allocations: 42.56 kB / 476.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.139, allocations: 0 / 476.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00406/0.1431, allocations: 1.255 MB / 478.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1432, allocations: 114.8 kB / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1434, allocations: 224 kB / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.1435, allocations: 37.7 kB / 478.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1436, allocations: 152.4 kB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/0.1437, allocations: 106.5 kB / 478.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1438, allocations: 82.11 kB / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.144, allocations: 334.8 kB / 479.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.1443, allocations: 204.8 kB / 479.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1446, allocations: 248.2 kB / 479.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.1452, allocations: 477.1 kB / 480.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1453, allocations: 0 / 480.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002083/0.1473, allocations: 0.8407 MB / 481 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1474, allocations: 7.984 kB / 481 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1474, allocations: 4 kB / 481 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.1494, allocations: 445.2 kB / 481.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1497, allocations: 63.91 kB / 481.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.1548, allocations: 4.137 MB / 485.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.1551, allocations: 47.55 kB / 485.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.1552, allocations: 16 kB / 485.7 MB, free: 13.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.1554, allocations: 153.8 kB / 485.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.1554, allocations: 23.72 kB / 485.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.1576, allocations: 0.7871 MB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1576, allocations: 4 kB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1576, allocations: 0 / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1576, allocations: 4 kB / 486.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.1581, allocations: 444.9 kB / 487.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1581, allocations: 0 / 487.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.1583, allocations: 47.91 kB / 487.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.1603, allocations: 437.2 kB / 487.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1604, allocations: 4 kB / 487.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/0.1656, allocations: 4.138 MB / 491.7 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1656, allocations: 0 / 491.7 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.1677, allocations: 0.8128 MB / 492.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.1678, allocations: 104.7 kB / 492.6 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.1678, allocations: 4 kB / 492.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1681, allocations: 15.98 kB / 492.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.1682, allocations: 31.91 kB / 492.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.1682, allocations: 19.92 kB / 492.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1684, allocations: 156.5 kB / 492.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1684, allocations: 0 / 492.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.1689, allocations: 131.8 kB / 492.9 MB, free: 6.059 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.1692, allocations: 115.2 kB / 493.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.171, allocations: 0.8121 MB / 493.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.171, allocations: 4.062 kB / 493.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.1724, allocations: 0.5524 MB / 494.4 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1727, allocations: 28.61 kB / 494.5 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1738, allocations: 0.5797 MB / 495 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1741, allocations: 0.7687 MB / 495.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1743, allocations: 37.91 kB / 495.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.1743, allocations: 27.42 kB / 495.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1743, allocations: 0 / 495.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of Templates: time 0.01186/0.1862, allocations: 6.744 MB / 0.4908 GB, free: 12.3 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)