Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.001697/0.001697, allocations: 116.7 kB / 17.17 MB, free: 5.719 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.001946/0.001946, allocations: 196.5 kB / 20.12 MB, free: 2.809 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.372/1.372, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.05306/0.05306, allocations: 8.231 MB / 311.6 MB, free: 2.047 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.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.89 kB / 433.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2525, allocations: 54.35 MB / 488.3 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002517/0.2551, allocations: 1.651 MB / 489.9 MB, free: 26.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.256, allocations: 0.6196 MB / 490.6 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.2561, allocations: 1.188 kB / 490.6 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.2563, allocations: 126.6 kB / 490.7 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.2565, allocations: 136.9 kB / 490.8 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2569, allocations: 112.2 kB / 490.9 MB, free: 25.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.2571, allocations: 232.2 kB / 491.2 MB, free: 25.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.2572, allocations: 5.906 kB / 491.2 MB, free: 25.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2573, allocations: 118.1 kB / 491.3 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.2575, allocations: 218.1 kB / 491.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.2575, allocations: 13 kB / 491.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2577, allocations: 82.14 kB / 491.6 MB, free: 25.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.2577, allocations: 105.6 kB / 491.7 MB, free: 25.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.2578, allocations: 136.1 kB / 491.8 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2581, allocations: 329.5 kB / 492.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2581, allocations: 0 / 492.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2581, allocations: 1.375 kB / 492.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2581, allocations: 4 kB / 492.1 MB, free: 24.7 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.000756/0.2589, allocations: 0.7133 MB / 492.9 MB, free: 24.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2589, allocations: 13.48 kB / 492.9 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.259, allocations: 34.88 kB / 492.9 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.259, allocations: 49.28 kB / 492.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2595, allocations: 380.1 kB / 493.3 MB, free: 23.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2595, allocations: 2.656 kB / 493.3 MB, free: 23.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2596, allocations: 14.91 kB / 493.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2599, allocations: 177.7 kB / 493.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2599, allocations: 0 / 493.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2599, allocations: 2.438 kB / 493.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2599, allocations: 1.25 kB / 493.5 MB, free: 23.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2602, allocations: 112.9 kB / 493.6 MB, free: 23.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.2608, allocations: 0.4975 MB / 494.1 MB, free: 23.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.261, allocations: 126.6 kB / 494.2 MB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2612, allocations: 111 kB / 494.4 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2612, allocations: 5.312 kB / 494.4 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.2616, allocations: 364.5 kB / 494.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.2616, allocations: 0 / 494.7 MB, free: 22.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008533/0.2624, allocations: 0.5797 MB / 495.3 MB, free: 22.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.2625, allocations: 221.7 kB / 495.5 MB, free: 22.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.263, allocations: 0.5598 MB / 496.1 MB, free: 21.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.263, allocations: 36.38 kB / 496.1 MB, free: 21.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.2631, allocations: 192.2 kB / 496.3 MB, free: 21.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.2632, allocations: 39.92 kB / 496.3 MB, free: 21.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.2632, allocations: 36.8 kB / 496.4 MB, free: 21.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.2633, allocations: 367 kB / 496.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2634, allocations: 96.28 kB / 496.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2636, allocations: 120.5 kB / 496.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.2641, allocations: 0.6255 MB / 497.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2641, allocations: 0 / 497.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004026/0.2645, allocations: 423.5 kB / 498 MB, free: 20.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.2645, allocations: 73.62 kB / 498.1 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2645, allocations: 1.219 kB / 498.1 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2646, allocations: 0 / 498.1 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.2646, allocations: 8.531 kB / 498.1 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2646, allocations: 5.281 kB / 498.1 MB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2649, allocations: 44.33 kB / 498.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2649, allocations: 5.719 kB / 498.1 MB, free: 20.43 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.000259/0.2652, allocations: 294.2 kB / 498.4 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.2652, allocations: 51.78 kB / 498.5 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.2653, allocations: 47.41 kB / 498.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2653, allocations: 1.25 kB / 498.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2653, allocations: 0 / 498.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2653, allocations: 1.062 kB / 498.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2655, allocations: 348.5 kB / 498.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2655, allocations: 0 / 498.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.2655, allocations: 2.938 kB / 498.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2655, allocations: 5.062 kB / 498.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2655, allocations: 14.67 kB / 498.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2655, allocations: 0 / 498.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2655, allocations: 0.9062 kB / 498.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.2662, allocations: 0.5329 MB / 499.4 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2664, allocations: 159.4 kB / 499.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.2664, allocations: 13.12 kB / 499.6 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2667, allocations: 45.36 kB / 499.6 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.2668, allocations: 27.17 kB / 499.6 MB, free: 19.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2668, allocations: 16.14 kB / 499.7 MB, free: 19.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.2672, allocations: 416.9 kB / 0.4883 GB, free: 19.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2672, allocations: 0 / 0.4883 GB, free: 19.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.2675, allocations: 73.5 kB / 0.4884 GB, free: 19.12 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.0009262/0.2684, allocations: 1.125 MB / 0.4895 GB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.2689, allocations: 383.2 kB / 0.4899 GB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2689, allocations: 1.031 kB / 0.4899 GB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.2692, allocations: 260.1 kB / 0.4901 GB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.2694, allocations: 36.5 kB / 0.4902 GB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.2743, allocations: 4.919 MB / 0.495 GB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.2745, allocations: 0.8058 MB / 0.4957 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.449e-05/0.2746, allocations: 45.61 kB / 0.4958 GB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2747, allocations: 114.4 kB / 0.4959 GB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2747, allocations: 0 / 0.4959 GB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3027, allocations: 8.259 MB / 0.504 GB, free: 8.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.496, allocations: 9.625 kB / 0.504 GB, free: 8.09 MB / 366.1 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.878562225960195] Failed to read output from testmodel.py, exit status != 0: 8.568513239733875 8.587934237 8.325430251 Calling exit ...