Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.001282/0.001282, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001493/0.001493, allocations: 225 kB / 23.06 MB, free: 4.934 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.03938/0.03938, allocations: 6.133 MB / 319.4 MB, free: 12.97 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: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 55.91 kB / 444.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.005045/0.1147, allocations: 2.666 MB / 0.4904 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1174, allocations: 1.433 MB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1175, allocations: 4 kB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.1182, allocations: 259 kB / 0.4921 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.1188, allocations: 262.8 kB / 0.4923 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.1209, allocations: 1.008 MB / 0.4933 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.1215, allocations: 450.5 kB / 0.4937 GB, free: 8.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1217, allocations: 52.84 kB / 0.4938 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.1219, allocations: 207.3 kB / 0.494 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.1223, allocations: 315 kB / 0.4943 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.1224, allocations: 32 kB / 0.4943 GB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.123, allocations: 331.7 kB / 0.4946 GB, free: 7.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1232, allocations: 143.5 kB / 0.4948 GB, free: 7.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1234, allocations: 246.5 kB / 0.495 GB, free: 6.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.1244, allocations: 0.7355 MB / 0.4957 GB, free: 6.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1244, allocations: 7.938 kB / 0.4957 GB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1244, allocations: 0 / 0.4957 GB, free: 6.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1244, allocations: 0 / 0.4957 GB, free: 6.145 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004321/0.1287, allocations: 1.31 MB / 0.497 GB, free: 4.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1287, allocations: 11.97 kB / 0.497 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.1288, allocations: 54.73 kB / 0.4971 GB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.129, allocations: 68.52 kB / 0.4971 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.1297, allocations: 418.4 kB / 0.4975 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1298, allocations: 16.38 kB / 0.4976 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1298, allocations: 28.12 kB / 0.4976 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.1306, allocations: 410.2 kB / 0.498 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1306, allocations: 4 kB / 0.498 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.1306, allocations: 8 kB / 0.498 GB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.1307, allocations: 4 kB / 0.498 GB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.1313, allocations: 356.6 kB / 0.4983 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.133, allocations: 0.9647 MB / 0.4993 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.134, allocations: 382.9 kB / 0.4996 GB, free: 2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.1344, allocations: 221 kB / 0.4998 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.1355, allocations: 0.6878 MB / 0.5005 GB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007448/0.1362, allocations: 496.5 kB / 0.501 GB, free: 0.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.1362, allocations: 0 / 0.501 GB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003552/0.1398, allocations: 1.196 MB / 0.5022 GB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.14, allocations: 251.5 kB / 0.5024 GB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.1409, allocations: 0.6787 MB / 0.5031 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.1409, allocations: 37.7 kB / 0.5031 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.1411, allocations: 256.7 kB / 0.5033 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.1413, allocations: 123 kB / 0.5035 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.1415, allocations: 90 kB / 0.5035 GB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1417, allocations: 378.8 kB / 0.5039 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.142, allocations: 200.8 kB / 0.5041 GB, free: 13.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.1424, allocations: 310.8 kB / 0.5044 GB, free: 12.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/0.1462, allocations: 1.394 MB / 0.5058 GB, free: 11.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1462, allocations: 4 kB / 0.5058 GB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00204/0.1483, allocations: 0.9233 MB / 0.5067 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/0.1484, allocations: 71.33 kB / 0.5067 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1484, allocations: 4 kB / 0.5067 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.15, allocations: 351.3 kB / 0.5071 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.1503, allocations: 71.84 kB / 0.5071 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.1527, allocations: 2.169 MB / 0.5093 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.1532, allocations: 83.72 kB / 0.5093 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.1533, allocations: 19.98 kB / 0.5094 GB, free: 7.535 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real varTra.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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004874/0.1538, allocations: 323.5 kB / 0.5097 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1539, allocations: 71.58 kB / 0.5097 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.1563, allocations: 1.012 MB / 0.5107 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1563, allocations: 4 kB / 0.5107 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1563, allocations: 0 / 0.5107 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1563, allocations: 0 / 0.5107 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.1569, allocations: 0.5235 MB / 0.5112 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1569, allocations: 4.062 kB / 0.5112 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.157, allocations: 31.98 kB / 0.5113 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.1586, allocations: 407.1 kB / 0.5117 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.1587, allocations: 23.92 kB / 0.5117 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.1613, allocations: 2.269 MB / 0.5139 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1613, allocations: 3.938 kB / 0.5139 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.1636, allocations: 1.02 MB / 0.5149 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.1639, allocations: 119.4 kB / 0.515 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.164, allocations: 27.94 kB / 0.515 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.1644, allocations: 63.88 kB / 0.5151 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.1645, allocations: 35.89 kB / 0.5151 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.1645, allocations: 19.98 kB / 0.5152 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006362/0.1652, allocations: 498.8 kB / 0.5156 GB, free: 0.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 0.5156 GB, free: 0.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1657, allocations: 139.9 kB / 0.5158 GB, free: 0.6953 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1937/0.3594, allocations: 1.621 MB / 0.5173 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3607, allocations: 0.7658 MB / 0.5181 GB, free: 29.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3607, allocations: 3.375 kB / 0.5181 GB, free: 29.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.3615, allocations: 0.509 MB / 0.5186 GB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3619, allocations: 51.88 kB / 0.5186 GB, free: 29.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009156/0.371, allocations: 6.912 MB / 0.5254 GB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3713, allocations: 0.8752 MB / 0.5262 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.3715, allocations: 60 kB / 0.5263 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.3717, allocations: 189.1 kB / 0.5265 GB, free: 27.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3717, allocations: 1.062 kB / 0.5265 GB, free: 27.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.4183, allocations: 14.68 MB / 0.5408 GB, free: 22.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.67, allocations: 10.17 kB / 0.5408 GB, free: 22.67 MB / 382.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1_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_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.425948242998857] Failed to read output from testmodel.py, exit status != 0: 14.797749360004673 14.810158589 14.683499733 Calling exit ...