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.001259/0.001259, allocations: 105 kB / 20.49 MB, free: 1.457 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.001418/0.001418, allocations: 218.9 kB / 23.8 MB, free: 4.652 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.458/1.458, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.03613/0.03613, allocations: 6.141 MB / 320.1 MB, free: 12.98 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.001584/0.001584, allocations: 47.92 kB / 445.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.094, allocations: 55.03 MB / 0.4891 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004621/0.09862, allocations: 3.248 MB / 0.4922 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1016, allocations: 1.917 MB / 0.4941 GB, free: 8.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1019, allocations: 8 kB / 0.4941 GB, free: 8.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1025, allocations: 206.7 kB / 0.4943 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008379/0.1033, allocations: 318 kB / 0.4946 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.1059, allocations: 1.288 MB / 0.4959 GB, free: 6.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.1068, allocations: 0.6337 MB / 0.4965 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.1071, allocations: 143.7 kB / 0.4966 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.1075, allocations: 278.9 kB / 0.4969 GB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.108, allocations: 346.5 kB / 0.4972 GB, free: 5.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1081, allocations: 52 kB / 0.4973 GB, free: 5.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.1087, allocations: 295.8 kB / 0.4976 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1088, allocations: 139.4 kB / 0.4977 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.1091, allocations: 306.5 kB / 0.498 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1102, allocations: 0.8249 MB / 0.4988 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1102, allocations: 0 / 0.4988 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1102, allocations: 4 kB / 0.4988 GB, free: 3.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1102, allocations: 0 / 0.4988 GB, free: 3.781 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.007378/0.1176, allocations: 1.811 MB / 0.5006 GB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1176, allocations: 12.03 kB / 0.5006 GB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1178, allocations: 72.52 kB / 0.5006 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.1184, allocations: 364.5 kB / 0.501 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.1184, allocations: 41.38 kB / 0.501 GB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.1185, allocations: 52.38 kB / 0.5011 GB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1197, allocations: 0.7259 MB / 0.5018 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1197, allocations: 8.109 kB / 0.5018 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.1198, allocations: 19.94 kB / 0.5018 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1198, allocations: 16 kB / 0.5018 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1209, allocations: 0.6794 MB / 0.5025 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.1248, allocations: 2.199 MB / 0.5046 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.1262, allocations: 0.7934 MB / 0.5054 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.1268, allocations: 426.7 kB / 0.5058 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.1269, allocations: 20.62 kB / 0.5058 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.127, allocations: 51.22 kB / 0.5059 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.127, allocations: 3.984 kB / 0.5059 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01213/0.1391, allocations: 3.113 MB / 0.5089 GB, free: 9.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.1392, allocations: 115.4 kB / 0.509 GB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.1397, allocations: 373.6 kB / 0.5094 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/0.1397, allocations: 41.7 kB / 0.5094 GB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1399, allocations: 209.6 kB / 0.5096 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.1401, allocations: 261.7 kB / 0.5099 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.1404, allocations: 154.6 kB / 0.51 GB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1406, allocations: 362.8 kB / 0.5104 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.1413, allocations: 469.9 kB / 0.5108 GB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.1422, allocations: 0.5326 MB / 0.5113 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.1438, allocations: 1.033 MB / 0.5124 GB, free: 5.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1438, allocations: 0 / 0.5124 GB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005751/0.1496, allocations: 1.984 MB / 0.5143 GB, free: 3.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1496, allocations: 4 kB / 0.5143 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1496, allocations: 0 / 0.5143 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006008/0.1556, allocations: 1.46 MB / 0.5157 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.1561, allocations: 131.8 kB / 0.5158 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1904/0.3465, allocations: 6.171 MB / 0.5219 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.3471, allocations: 84 kB / 0.522 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.3472, allocations: 28.8 kB / 0.522 GB, free: 28.08 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.0002405/0.3474, allocations: 187.2 kB / 0.5222 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3475, allocations: 62.06 kB / 0.5222 GB, free: 27.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/0.353, allocations: 1.957 MB / 0.5241 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.353, allocations: 8.562 kB / 0.5241 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.353, allocations: 2.625 kB / 0.5241 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.353, allocations: 4.781 kB / 0.5241 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.3592, allocations: 2.777 MB / 0.5269 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3592, allocations: 0 / 0.5269 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3595, allocations: 96 kB / 0.527 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/0.3648, allocations: 1.292 MB / 0.5282 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.3649, allocations: 19.77 kB / 0.5282 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3753, allocations: 6.111 MB / 0.5342 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3753, allocations: 0.7969 kB / 0.5342 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.3804, allocations: 1.91 MB / 0.5361 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3805, allocations: 65.58 kB / 0.5361 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.3806, allocations: 19.28 kB / 0.5361 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.3812, allocations: 42.75 kB / 0.5362 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.3814, allocations: 68.47 kB / 0.5363 GB, free: 21.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.3814, allocations: 26.91 kB / 0.5363 GB, free: 21.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002869/0.3817, allocations: 256 kB / 0.5365 GB, free: 21.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3817, allocations: 0 / 0.5365 GB, free: 21.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.3825, allocations: 279.5 kB / 0.5368 GB, free: 21.39 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.0001973/0.3827, allocations: 137.5 kB / 0.5369 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.3863, allocations: 1.599 MB / 0.5385 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3863, allocations: 1.5 kB / 0.5385 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.3889, allocations: 1.049 MB / 0.5395 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3894, allocations: 77.47 kB / 0.5396 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3913, allocations: 1.26 MB / 0.5408 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3915, allocations: 0.8788 MB / 0.5417 GB, free: 18.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3917, allocations: 58.56 kB / 0.5417 GB, free: 18.71 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3917, allocations: 0 / 0.5417 GB, free: 18.71 MB / 382.1 MB Notification: Performance of Templates: time 0.0123/0.404, allocations: 12.05 MB / 0.5535 GB, free: 11.96 MB / 382.1 MB " [Timeout remaining time 660] 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: 7.794795847032219] Failed to read output from testmodel.py, exit status != 0: 0.41090768901631236 0.42121397699999996 0.308017201 Calling exit ...