Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 101.8 kB / 16.45 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.001018/0.001018, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05227/0.05227, allocations: 8.11 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.09 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004616/0.135, allocations: 3.348 MB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.1384, allocations: 1.858 MB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1386, allocations: 12 kB / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.1391, allocations: 206.7 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.1399, allocations: 325.9 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1423, allocations: 1.288 MB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.1432, allocations: 0.6492 MB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.1435, allocations: 222.9 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1438, allocations: 282.9 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.1442, allocations: 346.6 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.1443, allocations: 55.94 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.1449, allocations: 283.8 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.145, allocations: 127.5 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1453, allocations: 322.3 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008633/0.1461, allocations: 0.8178 MB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1461, allocations: 0 / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1462, allocations: 0 / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1462, allocations: 0 / 476.1 MB, free: 8.012 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.006847/0.153, allocations: 1.876 MB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1531, allocations: 16.03 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.1533, allocations: 68.19 kB / 478.1 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.1538, allocations: 418.2 kB / 478.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1539, allocations: 37.38 kB / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.154, allocations: 56.38 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.155, allocations: 0.7217 MB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1551, allocations: 192 / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.1551, allocations: 19.94 kB / 479.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1552, allocations: 23.97 kB / 479.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/0.1561, allocations: 0.656 MB / 480 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.1597, allocations: 2.84 MB / 482.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.1611, allocations: 1.093 MB / 483.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.1617, allocations: 490.7 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.1618, allocations: 20.62 kB / 484.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.1619, allocations: 47.22 kB / 484.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.1619, allocations: 0 / 484.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01121/0.1731, allocations: 3.202 MB / 487.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.1732, allocations: 119.3 kB / 487.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.1738, allocations: 389.3 kB / 488.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.174, allocations: 45.7 kB / 488.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1741, allocations: 205.4 kB / 488.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.1744, allocations: 244.3 kB / 488.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.1747, allocations: 158.6 kB / 488.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1748, allocations: 366.8 kB / 489.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.1755, allocations: 457.9 kB / 489.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.1762, allocations: 0.5325 MB / 490.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.1776, allocations: 1.017 MB / 491.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1776, allocations: 0 / 491.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00519/0.1828, allocations: 2.019 MB / 493.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.1829, allocations: 4 kB / 493.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1829, allocations: 3.938 kB / 493.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.1883, allocations: 1.535 MB / 494.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.1889, allocations: 131.8 kB / 494.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.2001, allocations: 6.281 MB / 0.4894 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.201, allocations: 67.42 kB / 0.4894 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.201, allocations: 35.92 kB / 0.4895 GB, free: 14.18 MB / 382.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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.2014, allocations: 193.6 kB / 0.4897 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2015, allocations: 59.34 kB / 0.4897 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.2068, allocations: 1.986 MB / 0.4917 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2068, allocations: 8 kB / 0.4917 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2068, allocations: 0 / 0.4917 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.2068, allocations: 7.969 kB / 0.4917 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006328/0.2132, allocations: 2.831 MB / 0.4944 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.2132, allocations: 4 kB / 0.4944 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.2135, allocations: 99.81 kB / 0.4945 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/0.2186, allocations: 1.289 MB / 0.4958 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.2187, allocations: 16 kB / 0.4958 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.2296, allocations: 6.198 MB / 0.5019 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2296, allocations: 3.938 kB / 0.5019 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3238/0.5534, allocations: 1.936 MB / 0.5038 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.5537, allocations: 137.6 kB / 0.5039 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.5539, allocations: 17.52 kB / 0.5039 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.5545, allocations: 47.95 kB / 0.5039 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.5549, allocations: 62.78 kB / 0.504 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.555, allocations: 25.27 kB / 0.504 GB, free: 44.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004626/0.5554, allocations: 260 kB / 0.5043 GB, free: 44.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5554, allocations: 0 / 0.5043 GB, free: 44.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001505/0.557, allocations: 285.5 kB / 0.5046 GB, free: 44.9 MB / 382.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 (56): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003044/0.5573, allocations: 134.8 kB / 0.5047 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.5616, allocations: 1.677 MB / 0.5063 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5616, allocations: 5.344 kB / 0.5063 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/0.5647, allocations: 1.115 MB / 0.5074 GB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.5655, allocations: 73.59 kB / 0.5075 GB, free: 44.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.5676, allocations: 1.144 MB / 0.5086 GB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.5681, allocations: 0.8821 MB / 0.5095 GB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.5684, allocations: 81.88 kB / 0.5095 GB, free: 43.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5685, allocations: 51.97 kB / 0.5096 GB, free: 43.36 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5686, allocations: 5.062 kB / 0.5096 GB, free: 43.36 MB / 382.1 MB Notification: Performance of Templates: time 0.03252/0.6011, allocations: 18.82 MB / 0.528 GB, free: 35.62 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)