Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001683/0.001683, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001748/0.001748, allocations: 206.3 kB / 23.78 MB, free: 4.496 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.356/1.356, allocations: 230.6 MB / 257.6 MB, free: 7.777 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.03397/0.03397, allocations: 6.138 MB / 320.1 MB, free: 12.73 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.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 55.92 kB / 445.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09493, allocations: 55.02 MB / 0.489 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004575/0.09951, allocations: 3.187 MB / 0.4921 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.1022, allocations: 1.796 MB / 0.4938 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1023, allocations: 8 kB / 0.4938 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.1028, allocations: 210.7 kB / 0.494 GB, free: 8.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.1035, allocations: 329.8 kB / 0.4944 GB, free: 7.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1058, allocations: 1.199 MB / 0.4955 GB, free: 6.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.1066, allocations: 0.6881 MB / 0.4962 GB, free: 6.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.1069, allocations: 154.1 kB / 0.4964 GB, free: 5.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.1071, allocations: 294.9 kB / 0.4966 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.1076, allocations: 330.4 kB / 0.4969 GB, free: 5.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.1077, allocations: 56 kB / 0.497 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.1082, allocations: 287.8 kB / 0.4973 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1083, allocations: 143.4 kB / 0.4974 GB, free: 4.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.1086, allocations: 278.7 kB / 0.4977 GB, free: 4.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.1095, allocations: 0.8795 MB / 0.4985 GB, free: 3.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1095, allocations: 0 / 0.4985 GB, free: 3.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1095, allocations: 4 kB / 0.4985 GB, free: 3.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1096, allocations: 0 / 0.4985 GB, free: 3.602 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006844/0.1164, allocations: 1.862 MB / 0.5004 GB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1164, allocations: 8.031 kB / 0.5004 GB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1166, allocations: 80.47 kB / 0.5004 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.1172, allocations: 372.4 kB / 0.5008 GB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.1173, allocations: 49.36 kB / 0.5008 GB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1174, allocations: 56.38 kB / 0.5009 GB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1188, allocations: 1.124 MB / 0.502 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1188, allocations: 4.188 kB / 0.502 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.1189, allocations: 23.94 kB / 0.502 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1189, allocations: 16 kB / 0.502 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.12, allocations: 0.7029 MB / 0.5027 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.1234, allocations: 1.697 MB / 0.5044 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.1247, allocations: 0.7693 MB / 0.5051 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.1254, allocations: 410.7 kB / 0.5055 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.1254, allocations: 12.64 kB / 0.5055 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1255, allocations: 47.22 kB / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/0.1255, allocations: 0 / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.0134/0.1389, allocations: 3.35 MB / 0.5089 GB, free: 8.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.139, allocations: 111.5 kB / 0.509 GB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.1395, allocations: 381.5 kB / 0.5093 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.1395, allocations: 45.7 kB / 0.5094 GB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1397, allocations: 225.4 kB / 0.5096 GB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.14, allocations: 261.7 kB / 0.5098 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.1402, allocations: 158.6 kB / 0.51 GB, free: 7.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1404, allocations: 362.7 kB / 0.5103 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.1411, allocations: 453.9 kB / 0.5108 GB, free: 6.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.142, allocations: 0.5633 MB / 0.5113 GB, free: 6.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1435, allocations: 0.9978 MB / 0.5123 GB, free: 5.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1435, allocations: 0 / 0.5123 GB, free: 5.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005224/0.1487, allocations: 1.945 MB / 0.5142 GB, free: 3.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1487, allocations: 7.984 kB / 0.5142 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1487, allocations: 0 / 0.5142 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.1542, allocations: 1.445 MB / 0.5156 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.1547, allocations: 131.8 kB / 0.5157 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/0.3365, allocations: 5.669 MB / 0.5213 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.3371, allocations: 81.39 kB / 0.5213 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.3371, allocations: 32.25 kB / 0.5214 GB, free: 28.46 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.0002245/0.3373, allocations: 189.2 kB / 0.5216 GB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3375, allocations: 60.27 kB / 0.5216 GB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.3423, allocations: 1.88 MB / 0.5235 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3423, allocations: 12.64 kB / 0.5235 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3423, allocations: 0 / 0.5235 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3423, allocations: 5.891 kB / 0.5235 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.3476, allocations: 2.469 MB / 0.5259 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3476, allocations: 0 / 0.5259 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.3479, allocations: 94.33 kB / 0.526 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/0.3528, allocations: 1.281 MB / 0.5272 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.3529, allocations: 17.75 kB / 0.5272 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009308/0.3622, allocations: 5.59 MB / 0.5327 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3622, allocations: 4.031 kB / 0.5327 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004753/0.367, allocations: 1.862 MB / 0.5345 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3671, allocations: 73.78 kB / 0.5346 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.3672, allocations: 17.2 kB / 0.5346 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.3677, allocations: 46.8 kB / 0.5346 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.3679, allocations: 68.78 kB / 0.5347 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.368, allocations: 26.83 kB / 0.5347 GB, free: 22.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.3683, allocations: 256.9 kB / 0.535 GB, free: 22.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3683, allocations: 0 / 0.535 GB, free: 22.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007944/0.369, allocations: 289 kB / 0.5353 GB, free: 22.26 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 (55): * Single equations (assignments): 54 * 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.0002041/0.3693, allocations: 132.6 kB / 0.5354 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.3727, allocations: 1.553 MB / 0.5369 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3727, allocations: 5.391 kB / 0.5369 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.3752, allocations: 1.027 MB / 0.5379 GB, free: 21.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.3757, allocations: 70.67 kB / 0.538 GB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3778, allocations: 1.29 MB / 0.5392 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.378, allocations: 291 kB / 0.5395 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3782, allocations: 57.47 kB / 0.5396 GB, free: 20.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3782, allocations: 1.531 kB / 0.5396 GB, free: 20.22 MB / 382.1 MB Notification: Performance of Templates: time 0.01262/0.3908, allocations: 12.58 MB / 0.5519 GB, free: 12.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.177587330807] Failed to read output from testmodel.py, exit status != 0: 0.39783970126882195 0.40717087300000004 0.295166718 Calling exit ...