Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109.7 kB / 17.17 MB, free: 6.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 200.6 kB / 20.13 MB, free: 3.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05595/0.05595, allocations: 8.234 MB / 311.6 MB, free: 2.105 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 433.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 54.36 MB / 488.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002331/0.2586, allocations: 1.633 MB / 489.9 MB, free: 26.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.2595, allocations: 0.6213 MB / 490.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2596, allocations: 0 / 490.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2597, allocations: 23.34 kB / 490.6 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2599, allocations: 51.48 kB / 490.6 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2602, allocations: 124.8 kB / 490.7 MB, free: 25.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.2604, allocations: 173.8 kB / 490.9 MB, free: 25.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.2605, allocations: 13.42 kB / 490.9 MB, free: 25.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2606, allocations: 71.05 kB / 491 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2607, allocations: 87.61 kB / 491.1 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.2608, allocations: 12.62 kB / 491.1 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2609, allocations: 94.16 kB / 491.2 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.261, allocations: 26 kB / 491.2 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.2611, allocations: 66.12 kB / 491.3 MB, free: 25.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.2613, allocations: 192.6 kB / 491.5 MB, free: 25.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2613, allocations: 4 kB / 491.5 MB, free: 25.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2613, allocations: 0 / 491.5 MB, free: 25.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2613, allocations: 1.094 kB / 491.5 MB, free: 25.01 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000593/0.2619, allocations: 0.499 MB / 492 MB, free: 24.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2619, allocations: 12.73 kB / 492 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.262, allocations: 46.83 kB / 492 MB, free: 24.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.262, allocations: 18.41 kB / 492 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2623, allocations: 229.4 kB / 492.3 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2623, allocations: 7.281 kB / 492.3 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2623, allocations: 11.06 kB / 492.3 MB, free: 24.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.2626, allocations: 134.4 kB / 492.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2626, allocations: 1.688 kB / 492.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2626, allocations: 1.344 kB / 492.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2626, allocations: 2.031 kB / 492.4 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2628, allocations: 74.23 kB / 492.5 MB, free: 24.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.2633, allocations: 391 kB / 492.9 MB, free: 23.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2635, allocations: 80.19 kB / 493 MB, free: 23.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.2637, allocations: 64.78 kB / 493 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2637, allocations: 1.812 kB / 493 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.264, allocations: 325.5 kB / 493.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.264, allocations: 0 / 493.3 MB, free: 23.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007332/0.2648, allocations: 389.1 kB / 493.7 MB, free: 23.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.2649, allocations: 225.8 kB / 493.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.265, allocations: 194.5 kB / 494.1 MB, free: 22.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.265, allocations: 32.45 kB / 494.2 MB, free: 22.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2651, allocations: 105.6 kB / 494.3 MB, free: 22.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.2651, allocations: 36 kB / 494.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2652, allocations: 36.83 kB / 494.3 MB, free: 22.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.2652, allocations: 336.3 kB / 494.7 MB, free: 22.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.2653, allocations: 51.47 kB / 494.7 MB, free: 22.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.2654, allocations: 78.73 kB / 494.8 MB, free: 22.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.2658, allocations: 464.5 kB / 495.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2658, allocations: 0 / 495.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003238/0.2662, allocations: 270.5 kB / 495.5 MB, free: 21.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.2662, allocations: 65.58 kB / 495.6 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2662, allocations: 0 / 495.6 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2662, allocations: 5.25 kB / 495.6 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.2663, allocations: 24.36 kB / 495.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2663, allocations: 0 / 495.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.2666, allocations: 51.02 kB / 495.6 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2666, allocations: 5.969 kB / 495.7 MB, free: 21.46 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.2668, allocations: 229.6 kB / 495.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.2668, allocations: 24.91 kB / 495.9 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.2668, allocations: 14.56 kB / 495.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2668, allocations: 1.594 kB / 495.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2669, allocations: 0 / 495.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2669, allocations: 0 / 495.9 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.267, allocations: 265 kB / 496.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.267, allocations: 0 / 496.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.267, allocations: 2.469 kB / 496.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.267, allocations: 1.531 kB / 496.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2671, allocations: 9.891 kB / 496.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2671, allocations: 1.5 kB / 496.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2671, allocations: 3.938 kB / 496.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.2677, allocations: 396.1 kB / 496.6 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2678, allocations: 123.3 kB / 496.7 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.2678, allocations: 17 kB / 496.7 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.2681, allocations: 45 kB / 496.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.2682, allocations: 19.17 kB / 496.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.2682, allocations: 15.47 kB / 496.8 MB, free: 20.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.2683, allocations: 155.8 kB / 497 MB, free: 20.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2683, allocations: 1.688 kB / 497 MB, free: 20.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.2686, allocations: 69.14 kB / 497 MB, free: 20.39 MB / 366.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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008964/0.2695, allocations: 0.9655 MB / 498 MB, free: 19.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.27, allocations: 296.9 kB / 498.3 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.27, allocations: 1 kB / 498.3 MB, free: 19.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.2702, allocations: 222.8 kB / 498.5 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.2705, allocations: 22.94 kB / 498.5 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.2729, allocations: 2.279 MB / 0.4891 GB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.273, allocations: 0.7223 MB / 0.4898 GB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.2731, allocations: 19.41 kB / 0.4898 GB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.2731, allocations: 41.12 kB / 0.4898 GB, free: 16.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2731, allocations: 7.938 kB / 0.4898 GB, free: 16.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.298, allocations: 4.876 MB / 0.4946 GB, free: 14.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.136, allocations: 9.094 kB / 0.4946 GB, free: 14.21 MB / 366.1 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.58341632084921] Failed to read output from testmodel.py, exit status != 0: 8.206848116125911 8.22649286 7.961737184 Calling exit ...