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.001322/0.001322, 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.001555/0.001555, allocations: 206.8 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.03761/0.03761, allocations: 6.139 MB / 320.1 MB, free: 12.75 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.001455/0.001455, allocations: 47.92 kB / 445.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09686, allocations: 55.02 MB / 0.489 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004092/0.101, allocations: 2.832 MB / 0.4917 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.1039, allocations: 1.851 MB / 0.4935 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1042, allocations: 12 kB / 0.4936 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.1048, allocations: 202.8 kB / 0.4937 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008835/0.1057, allocations: 314 kB / 0.494 GB, free: 8.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.1081, allocations: 1.176 MB / 0.4952 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009427/0.1091, allocations: 0.6414 MB / 0.4958 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.1093, allocations: 131.7 kB / 0.4959 GB, free: 6.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1097, allocations: 274.9 kB / 0.4962 GB, free: 6.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.1102, allocations: 298.6 kB / 0.4965 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.1104, allocations: 55.94 kB / 0.4965 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.111, allocations: 287.7 kB / 0.4968 GB, free: 5.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1111, allocations: 131.5 kB / 0.4969 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.1114, allocations: 258.7 kB / 0.4972 GB, free: 5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1125, allocations: 0.8173 MB / 0.498 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1125, allocations: 4 kB / 0.498 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1125, allocations: 0 / 0.498 GB, free: 4.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.1125, allocations: 3.984 kB / 0.498 GB, free: 4.172 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.00732/0.1199, allocations: 1.815 MB / 0.4998 GB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1199, allocations: 8.031 kB / 0.4998 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.1201, allocations: 72.52 kB / 0.4998 GB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.1207, allocations: 368.4 kB / 0.5002 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1208, allocations: 41.38 kB / 0.5002 GB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.1209, allocations: 52.38 kB / 0.5003 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.1223, allocations: 1.077 MB / 0.5013 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1223, allocations: 192 / 0.5013 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.1223, allocations: 23.94 kB / 0.5014 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1224, allocations: 12 kB / 0.5014 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1235, allocations: 0.6755 MB / 0.502 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.1269, allocations: 1.617 MB / 0.5036 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.1283, allocations: 0.7856 MB / 0.5044 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.1289, allocations: 426.7 kB / 0.5048 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.129, allocations: 12.64 kB / 0.5048 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1291, allocations: 51.22 kB / 0.5048 GB, free: 12.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.1291, allocations: 3.938 kB / 0.5049 GB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01156/0.1406, allocations: 3.101 MB / 0.5079 GB, free: 9.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.1407, allocations: 123.5 kB / 0.508 GB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.1412, allocations: 377.4 kB / 0.5084 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.1413, allocations: 49.7 kB / 0.5084 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1415, allocations: 205.6 kB / 0.5086 GB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.1418, allocations: 261.7 kB / 0.5089 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.142, allocations: 154.6 kB / 0.509 GB, free: 8.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1422, allocations: 362.8 kB / 0.5093 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.143, allocations: 465.9 kB / 0.5098 GB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008345/0.1438, allocations: 0.5905 MB / 0.5104 GB, free: 7.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.1454, allocations: 1.029 MB / 0.5114 GB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1454, allocations: 0 / 0.5114 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005378/0.1508, allocations: 1.984 MB / 0.5133 GB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1508, allocations: 4 kB / 0.5133 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1508, allocations: 4 kB / 0.5133 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/0.1564, allocations: 1.449 MB / 0.5147 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.1569, allocations: 127.8 kB / 0.5149 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1844/0.3413, allocations: 5.995 MB / 0.5207 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.3419, allocations: 79.61 kB / 0.5208 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.342, allocations: 28.25 kB / 0.5208 GB, free: 28.41 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.0002268/0.3422, allocations: 186.8 kB / 0.521 GB, free: 28.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.3423, allocations: 59.11 kB / 0.521 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/0.3472, allocations: 1.955 MB / 0.523 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.3472, allocations: 12.02 kB / 0.523 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.3472, allocations: 4.094 kB / 0.523 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3472, allocations: 4.625 kB / 0.523 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.3526, allocations: 2.529 MB / 0.5254 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3526, allocations: 1.406 kB / 0.5254 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3529, allocations: 99.47 kB / 0.5255 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/0.3579, allocations: 1.28 MB / 0.5268 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.358, allocations: 17.56 kB / 0.5268 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009528/0.3675, allocations: 5.917 MB / 0.5326 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3675, allocations: 4.203 kB / 0.5326 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.3723, allocations: 1.91 MB / 0.5345 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3724, allocations: 66.28 kB / 0.5345 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.3725, allocations: 19.72 kB / 0.5345 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.373, allocations: 50.91 kB / 0.5346 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.3732, allocations: 67.86 kB / 0.5347 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.3733, allocations: 26.23 kB / 0.5347 GB, free: 22.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.3736, allocations: 257.4 kB / 0.5349 GB, free: 22.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 0 / 0.5349 GB, free: 22.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.3744, allocations: 278.8 kB / 0.5352 GB, free: 22.22 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.0001941/0.3746, allocations: 135.6 kB / 0.5353 GB, free: 22.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.3781, allocations: 1.598 MB / 0.5369 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3781, allocations: 1.031 kB / 0.5369 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.3806, allocations: 1.053 MB / 0.5379 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3811, allocations: 67.69 kB / 0.538 GB, free: 20.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.3829, allocations: 1.266 MB / 0.5392 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.3831, allocations: 280.8 kB / 0.5395 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3833, allocations: 56.77 kB / 0.5395 GB, free: 20.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3833, allocations: 0 / 0.5395 GB, free: 20.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01276/0.396, allocations: 12.33 MB / 0.5516 GB, free: 13.29 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.255539733916521] Failed to read output from testmodel.py, exit status != 0: 0.40311486972495914 0.41208698099999996 0.29731709999999995 Calling exit ...