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.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.0008297/0.0008297, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001028/0.001028, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9013/0.9013, allocations: 177.1 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02453/0.02453, allocations: 4.472 MB / 264.5 MB, free: 8.777 MB / 250.7 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: "" <> 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 2.254e-06/2.254e-06, allocations: 0 / 389.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.414e-05, allocations: 4.812 kB / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002465/0.002489, allocations: 1.626 MB / 391.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.003434, allocations: 0.6157 MB / 391.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.003498, allocations: 0 / 391.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003627, allocations: 23.84 kB / 391.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.003782, allocations: 51.69 kB / 391.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.004153, allocations: 115.7 kB / 392 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.00434, allocations: 179.5 kB / 392.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.00443, allocations: 13.17 kB / 392.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004572, allocations: 99.78 kB / 392.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.004731, allocations: 71.84 kB / 392.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.004761, allocations: 15.94 kB / 392.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.004896, allocations: 83.92 kB / 392.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.004982, allocations: 23.92 kB / 392.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.005049, allocations: 51.83 kB / 392.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.005339, allocations: 223.5 kB / 392.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005342, allocations: 4 kB / 392.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.005344, allocations: 0 / 392.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.005352, allocations: 4 kB / 392.8 MB, free: 4.234 MB / 314.7 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.0007735/0.006125, allocations: 432.9 kB / 393.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.006179, allocations: 8.031 kB / 393.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.006223, allocations: 38.69 kB / 393.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.006279, allocations: 20.78 kB / 393.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.006594, allocations: 181.5 kB / 393.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.00661, allocations: 4.375 kB / 393.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.006626, allocations: 8.375 kB / 393.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.006935, allocations: 249 kB / 393.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006945, allocations: 3.938 kB / 393.7 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.006959, allocations: 4 kB / 393.7 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006964, allocations: 0 / 393.7 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.007128, allocations: 139.3 kB / 393.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.007612, allocations: 319.9 kB / 394.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.007783, allocations: 161.8 kB / 394.3 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.00791, allocations: 132.3 kB / 394.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.007919, allocations: 4 kB / 394.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.008267, allocations: 454.4 kB / 394.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.008268, allocations: 0 / 394.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005897/0.008858, allocations: 0.5152 MB / 395.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.008951, allocations: 221.6 kB / 395.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.009107, allocations: 194.3 kB / 395.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.009127, allocations: 33.7 kB / 395.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.009181, allocations: 103.9 kB / 395.9 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.009221, allocations: 51.78 kB / 396 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.009273, allocations: 37.7 kB / 396 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.009358, allocations: 330.8 kB / 396.3 MB, free: 268 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.009446, allocations: 123.3 kB / 396.5 MB, free: 132 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.009573, allocations: 165.4 kB / 396.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.01002, allocations: 471.8 kB / 397.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01002, allocations: 0 / 397.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003027/0.01032, allocations: 352.2 kB / 397.4 MB, free: 15.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.01038, allocations: 75.38 kB / 397.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01038, allocations: 0 / 397.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.0104, allocations: 0 / 397.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.01046, allocations: 15.97 kB / 397.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01047, allocations: 4 kB / 397.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.01063, allocations: 43.94 kB / 397.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01065, allocations: 8 kB / 397.6 MB, free: 14.9 MB / 330.7 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.0002147/0.01086, allocations: 227.1 kB / 397.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.0109, allocations: 31.84 kB / 397.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.01092, allocations: 13.81 kB / 397.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01092, allocations: 0 / 397.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01093, allocations: 0 / 397.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01093, allocations: 0 / 397.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.01108, allocations: 200.6 kB / 398 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01108, allocations: 0 / 398 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.0111, allocations: 4 kB / 398 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0111, allocations: 7.938 kB / 398.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.01112, allocations: 15.94 kB / 398.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01112, allocations: 3.984 kB / 398.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01112, allocations: 0 / 398.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.01156, allocations: 467.5 kB / 398.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.01163, allocations: 43.86 kB / 398.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.01167, allocations: 12 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.0118, allocations: 43.95 kB / 398.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.01187, allocations: 27.97 kB / 398.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.01189, allocations: 11.98 kB / 398.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.01198, allocations: 152.2 kB / 398.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01198, allocations: 0 / 398.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01218, allocations: 63.94 kB / 398.9 MB, free: 13.5 MB / 330.7 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.0007388/0.01292, allocations: 1.055 MB / 399.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.01331, allocations: 433.5 kB / 400.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01331, allocations: 0 / 400.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.01352, allocations: 302.1 kB / 400.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.01371, allocations: 20 kB / 400.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.01578, allocations: 2.639 MB / 403.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.01586, allocations: 101.3 kB / 403.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.01589, allocations: 8.484 kB / 403.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.01595, allocations: 52.48 kB / 403.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01595, allocations: 0 / 403.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.03565, allocations: 5.837 MB / 409.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/6.996, allocations: 3.438 kB / 409.3 MB, free: 2.887 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.VoltageRegulation2_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.921882792375982] Failed to read output from testmodel.py, exit status != 0: 7.079135803505778 7.236896882 7.229334615 Calling exit ...