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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 104.3 kB / 19.74 MB, free: 1.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 223.1 kB / 23.03 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.664/1.664, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04341/0.04341, allocations: 6.138 MB / 319.3 MB, free: 12.78 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 47.94 kB / 444.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1251, allocations: 55.02 MB / 499.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004992/0.1301, allocations: 2.834 MB / 0.491 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.1335, allocations: 1.839 MB / 0.4928 GB, free: 8.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.1339, allocations: 11.94 kB / 0.4928 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.1346, allocations: 206.8 kB / 0.493 GB, free: 8.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.1359, allocations: 317.9 kB / 0.4933 GB, free: 8.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.1388, allocations: 1.176 MB / 0.4944 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1401, allocations: 0.6337 MB / 0.4951 GB, free: 6.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.1405, allocations: 135.7 kB / 0.4952 GB, free: 6.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.141, allocations: 278.9 kB / 0.4955 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.1416, allocations: 302.6 kB / 0.4958 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1418, allocations: 52 kB / 0.4958 GB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007443/0.1425, allocations: 287.7 kB / 0.4961 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1427, allocations: 131.5 kB / 0.4962 GB, free: 5.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.1431, allocations: 258.7 kB / 0.4964 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1444, allocations: 0.8173 MB / 0.4972 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1444, allocations: 7.984 kB / 0.4973 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1444, allocations: 0 / 0.4973 GB, free: 4.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.1444, allocations: 0 / 0.4973 GB, free: 4.219 MB / 366.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.007659/0.1521, allocations: 1.819 MB / 0.499 GB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1521, allocations: 12.03 kB / 0.499 GB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1523, allocations: 68.52 kB / 0.4991 GB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.1529, allocations: 368.4 kB / 0.4995 GB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.153, allocations: 41.38 kB / 0.4995 GB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.1531, allocations: 52.38 kB / 0.4995 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1545, allocations: 1.073 MB / 0.5006 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1545, allocations: 4.125 kB / 0.5006 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.1545, allocations: 31.94 kB / 0.5006 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1546, allocations: 8 kB / 0.5006 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1556, allocations: 0.6755 MB / 0.5013 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.1591, allocations: 1.613 MB / 0.5029 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1605, allocations: 0.7895 MB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.1612, allocations: 426.7 kB / 0.5041 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.17e-05/0.1613, allocations: 12.64 kB / 0.5041 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.1613, allocations: 55.09 kB / 0.5041 GB, free: 12.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.1613, allocations: 4 kB / 0.5041 GB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01241/0.1737, allocations: 3.105 MB / 0.5072 GB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.1738, allocations: 111.5 kB / 0.5073 GB, free: 9.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.1743, allocations: 377.5 kB / 0.5076 GB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.1744, allocations: 45.7 kB / 0.5077 GB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1745, allocations: 213.6 kB / 0.5079 GB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.1748, allocations: 261.7 kB / 0.5081 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.1751, allocations: 146.6 kB / 0.5083 GB, free: 8.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1752, allocations: 366.8 kB / 0.5086 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/0.176, allocations: 469.8 kB / 0.5091 GB, free: 7.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/0.1769, allocations: 0.5828 MB / 0.5096 GB, free: 7.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.1786, allocations: 1.033 MB / 0.5106 GB, free: 6.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1786, allocations: 0 / 0.5106 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005754/0.1843, allocations: 1.984 MB / 0.5126 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.1843, allocations: 10.5 kB / 0.5126 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1844, allocations: 0 / 0.5126 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006085/0.1904, allocations: 1.456 MB / 0.514 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.191, allocations: 123.9 kB / 0.5141 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2507/0.4418, allocations: 5.993 MB / 0.52 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.4426, allocations: 74.33 kB / 0.52 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.4426, allocations: 31.19 kB / 0.5201 GB, free: 28.39 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.0003028/0.4429, allocations: 185.8 kB / 0.5202 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4431, allocations: 61.56 kB / 0.5203 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005935/0.449, allocations: 1.956 MB / 0.5222 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/0.449, allocations: 11.91 kB / 0.5222 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.449, allocations: 0.6094 kB / 0.5222 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.4491, allocations: 8.781 kB / 0.5222 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.4564, allocations: 2.529 MB / 0.5247 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4564, allocations: 1.125 kB / 0.5247 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.4568, allocations: 92.2 kB / 0.5248 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/0.4624, allocations: 1.286 MB / 0.5261 GB, free: 26.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.4625, allocations: 16.16 kB / 0.5261 GB, free: 26.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.4737, allocations: 5.917 MB / 0.5318 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4737, allocations: 8.562 kB / 0.5319 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.4792, allocations: 1.908 MB / 0.5337 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4794, allocations: 67.45 kB / 0.5338 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.4795, allocations: 11.86 kB / 0.5338 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.4801, allocations: 47.38 kB / 0.5338 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4804, allocations: 69.41 kB / 0.5339 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.4804, allocations: 26.34 kB / 0.5339 GB, free: 22.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003997/0.4808, allocations: 256.1 kB / 0.5342 GB, free: 22.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4808, allocations: 0 / 0.5342 GB, free: 22.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.4818, allocations: 287.4 kB / 0.5344 GB, free: 22.25 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.0002612/0.4821, allocations: 126.8 kB / 0.5346 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.4863, allocations: 1.6 MB / 0.5361 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4863, allocations: 1.094 kB / 0.5361 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.4893, allocations: 1.056 MB / 0.5372 GB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.4899, allocations: 70.47 kB / 0.5372 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.4922, allocations: 1.226 MB / 0.5384 GB, free: 20.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4925, allocations: 280.1 kB / 0.5387 GB, free: 20.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.4928, allocations: 80.58 kB / 0.5388 GB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4929, allocations: 48.5 kB / 0.5388 GB, free: 20.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4929, allocations: 1.969 kB / 0.5388 GB, free: 20.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02443/0.5174, allocations: 19.04 MB / 0.5574 GB, free: 6.715 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.752551248297095] Failed to read output from testmodel.py, exit status != 0: 0.5258158594369888 0.5426456989999999 0.39437167 Calling exit ...