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.001324/0.001324, allocations: 109 kB / 20.5 MB, free: 1.453 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.001468/0.001468, allocations: 209.9 kB / 23.8 MB, free: 4.672 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.432/1.432, allocations: 230.6 MB / 257.6 MB, free: 7.965 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.03514/0.03514, allocations: 6.136 MB / 320.1 MB, free: 12.91 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.00156/0.00156, allocations: 51.92 kB / 445.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09571, allocations: 55.03 MB / 0.4891 GB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00524/0.1009, allocations: 3.64 MB / 0.4926 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.1039, allocations: 1.87 MB / 0.4944 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.1042, allocations: 12 kB / 0.4945 GB, free: 8.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.1048, allocations: 214.7 kB / 0.4947 GB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008238/0.1056, allocations: 325.9 kB / 0.495 GB, free: 7.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.1081, allocations: 1.301 MB / 0.4962 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.1091, allocations: 0.6804 MB / 0.4969 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.1094, allocations: 174.1 kB / 0.4971 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1098, allocations: 302.9 kB / 0.4974 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1103, allocations: 358.5 kB / 0.4977 GB, free: 4.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1104, allocations: 56 kB / 0.4978 GB, free: 4.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.111, allocations: 307.8 kB / 0.498 GB, free: 4.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1111, allocations: 147.4 kB / 0.4982 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1115, allocations: 338.3 kB / 0.4985 GB, free: 3.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1126, allocations: 0.8794 MB / 0.4994 GB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1126, allocations: 0 / 0.4994 GB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1126, allocations: 4 kB / 0.4994 GB, free: 3.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.1126, allocations: 0 / 0.4994 GB, free: 3.066 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.007334/0.12, allocations: 1.858 MB / 0.5012 GB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.12, allocations: 12.03 kB / 0.5012 GB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1202, allocations: 76.47 kB / 0.5013 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.1208, allocations: 376.4 kB / 0.5016 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.1208, allocations: 41.38 kB / 0.5017 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1209, allocations: 60.38 kB / 0.5017 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.1222, allocations: 0.7729 MB / 0.5025 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1222, allocations: 192 / 0.5025 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.1223, allocations: 23.94 kB / 0.5025 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1223, allocations: 12 kB / 0.5025 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1235, allocations: 0.7106 MB / 0.5032 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.1275, allocations: 2.301 MB / 0.5055 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.1289, allocations: 0.781 MB / 0.5062 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.1296, allocations: 406.7 kB / 0.5066 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.485e-05/0.1297, allocations: 20.64 kB / 0.5066 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1297, allocations: 43.16 kB / 0.5067 GB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/0.1297, allocations: 0 / 0.5067 GB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01432/0.144, allocations: 3.343 MB / 0.5099 GB, free: 8.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.1441, allocations: 115.5 kB / 0.51 GB, free: 7.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.1446, allocations: 373.5 kB / 0.5104 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/0.1447, allocations: 49.7 kB / 0.5104 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1449, allocations: 225.4 kB / 0.5107 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.1451, allocations: 257.8 kB / 0.5109 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.1454, allocations: 150.6 kB / 0.5111 GB, free: 6.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1456, allocations: 370.7 kB / 0.5114 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.1463, allocations: 449.8 kB / 0.5118 GB, free: 6.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.1471, allocations: 0.5208 MB / 0.5123 GB, free: 5.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.1487, allocations: 0.9939 MB / 0.5133 GB, free: 4.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1487, allocations: 0 / 0.5133 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005714/0.1544, allocations: 1.945 MB / 0.5152 GB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1545, allocations: 8 kB / 0.5152 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1545, allocations: 0 / 0.5152 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006058/0.1605, allocations: 1.449 MB / 0.5166 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.161, allocations: 131.9 kB / 0.5168 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1805/0.3416, allocations: 5.873 MB / 0.5225 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.3421, allocations: 78.34 kB / 0.5226 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.3422, allocations: 29.78 kB / 0.5226 GB, free: 27.98 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.0002278/0.3424, allocations: 188.9 kB / 0.5228 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3425, allocations: 57.42 kB / 0.5228 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/0.3477, allocations: 1.885 MB / 0.5247 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3477, allocations: 11.88 kB / 0.5247 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3477, allocations: 5.516 kB / 0.5247 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3477, allocations: 5.125 kB / 0.5247 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00569/0.3534, allocations: 2.7 MB / 0.5273 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3534, allocations: 1.031 kB / 0.5273 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.3537, allocations: 90.61 kB / 0.5274 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005485/0.3592, allocations: 1.295 MB / 0.5287 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.3592, allocations: 14.19 kB / 0.5287 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009853/0.3691, allocations: 5.771 MB / 0.5343 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3691, allocations: 2.188 kB / 0.5343 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.3741, allocations: 1.87 MB / 0.5362 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.3742, allocations: 63.45 kB / 0.5362 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.3743, allocations: 19.53 kB / 0.5362 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.3748, allocations: 46.09 kB / 0.5363 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.375, allocations: 64.81 kB / 0.5363 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.3751, allocations: 26.61 kB / 0.5364 GB, free: 21.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002729/0.3753, allocations: 256.9 kB / 0.5366 GB, free: 21.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 0.5366 GB, free: 21.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007882/0.3761, allocations: 288.3 kB / 0.5369 GB, free: 21.29 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.0001902/0.3763, allocations: 137.3 kB / 0.537 GB, free: 21.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.3798, allocations: 1.557 MB / 0.5385 GB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3798, allocations: 5.016 kB / 0.5386 GB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.3824, allocations: 1.031 MB / 0.5396 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.3829, allocations: 74.19 kB / 0.5396 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3848, allocations: 1.296 MB / 0.5409 GB, free: 19.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3851, allocations: 0.8832 MB / 0.5418 GB, free: 18.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3852, allocations: 63.14 kB / 0.5418 GB, free: 18.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3852, allocations: 0 / 0.5418 GB, free: 18.63 MB / 382.1 MB Notification: Performance of Templates: time 0.01197/0.3972, allocations: 12.27 MB / 0.5538 GB, free: 11.53 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.558248054003343] Failed to read output from testmodel.py, exit status != 0: 0.40411119209602475 0.41438742300000003 0.298722938 Calling exit ...