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.001711/0.001711, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002167/0.002167, allocations: 223.6 kB / 23.04 MB, free: 4.613 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.468/1.468, allocations: 230.6 MB / 256.8 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.03756/0.03756, allocations: 6.138 MB / 319.4 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: "" <> 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.001518/0.001518, allocations: 55.89 kB / 444.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 55.02 MB / 499.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003959/0.1175, allocations: 2.486 MB / 0.4902 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1199, allocations: 1.308 MB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.12, allocations: 4 kB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.1206, allocations: 255 kB / 0.4917 GB, free: 9.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.1211, allocations: 262.8 kB / 0.492 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.123, allocations: 0.942 MB / 0.4929 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.1236, allocations: 442.5 kB / 0.4933 GB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1238, allocations: 48.91 kB / 0.4933 GB, free: 8.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.124, allocations: 203.3 kB / 0.4935 GB, free: 8.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.1244, allocations: 303 kB / 0.4938 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.1244, allocations: 32 kB / 0.4939 GB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.125, allocations: 311.7 kB / 0.4941 GB, free: 7.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1251, allocations: 151.4 kB / 0.4943 GB, free: 7.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.1253, allocations: 186.9 kB / 0.4945 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009062/0.1262, allocations: 0.7433 MB / 0.4952 GB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1262, allocations: 0 / 0.4952 GB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1262, allocations: 0 / 0.4952 GB, free: 6.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1262, allocations: 0 / 0.4952 GB, free: 6.293 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.004159/0.1304, allocations: 1.309 MB / 0.4965 GB, free: 4.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1304, allocations: 8.031 kB / 0.4965 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.1305, allocations: 54.73 kB / 0.4965 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1306, allocations: 68.52 kB / 0.4966 GB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.1314, allocations: 422.4 kB / 0.497 GB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1314, allocations: 16.38 kB / 0.497 GB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.1314, allocations: 24.12 kB / 0.497 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.1323, allocations: 0.5997 MB / 0.4976 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1324, allocations: 3.938 kB / 0.4976 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.1324, allocations: 8 kB / 0.4976 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1324, allocations: 4 kB / 0.4976 GB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.1331, allocations: 408 kB / 0.498 GB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1348, allocations: 0.8673 MB / 0.4989 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.1358, allocations: 446.3 kB / 0.4993 GB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.1363, allocations: 296.3 kB / 0.4996 GB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.1374, allocations: 0.5983 MB / 0.5002 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/0.1382, allocations: 0.6628 MB / 0.5008 GB, free: 208 kB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.484e-06/0.1382, allocations: 0 / 0.5008 GB, free: 208 kB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003693/0.1419, allocations: 1.38 MB / 0.5022 GB, free: 14.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.1421, allocations: 255.5 kB / 0.5024 GB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.143, allocations: 0.6826 MB / 0.5031 GB, free: 13.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.143, allocations: 33.7 kB / 0.5031 GB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.1433, allocations: 264.7 kB / 0.5034 GB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1434, allocations: 123 kB / 0.5035 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1435, allocations: 90.05 kB / 0.5036 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.1438, allocations: 374.8 kB / 0.5039 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1441, allocations: 268.2 kB / 0.5042 GB, free: 12.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.1446, allocations: 429.6 kB / 0.5046 GB, free: 12.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.1484, allocations: 1.414 MB / 0.506 GB, free: 10.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1484, allocations: 0 / 0.506 GB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002055/0.1504, allocations: 1.03 MB / 0.507 GB, free: 9.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.1505, allocations: 79.31 kB / 0.5071 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1505, allocations: 0 / 0.5071 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.152, allocations: 389 kB / 0.5074 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.1523, allocations: 63.91 kB / 0.5075 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.1546, allocations: 2.239 MB / 0.5097 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.1551, allocations: 83.91 kB / 0.5097 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.1552, allocations: 19.98 kB / 0.5098 GB, free: 6.492 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.0004673/0.1557, allocations: 324.3 kB / 0.5101 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1558, allocations: 67.58 kB / 0.5101 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.1582, allocations: 1.134 MB / 0.5112 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1582, allocations: 4 kB / 0.5113 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1582, allocations: 0 / 0.5113 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1582, allocations: 0 / 0.5113 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.1588, allocations: 464.2 kB / 0.5117 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1588, allocations: 0 / 0.5117 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.159, allocations: 23.98 kB / 0.5117 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.1606, allocations: 452.8 kB / 0.5121 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.1606, allocations: 23.92 kB / 0.5122 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.1633, allocations: 2.359 MB / 0.5145 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1633, allocations: 3.984 kB / 0.5145 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.1657, allocations: 1.138 MB / 0.5156 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.166, allocations: 123.5 kB / 0.5157 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.1661, allocations: 23.92 kB / 0.5157 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2067/0.3728, allocations: 53.19 kB / 0.5158 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.373, allocations: 37.73 kB / 0.5158 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.373, allocations: 21.28 kB / 0.5158 GB, free: 31.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.3736, allocations: 493.9 kB / 0.5163 GB, free: 31 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3736, allocations: 0.5625 kB / 0.5163 GB, free: 31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.3742, allocations: 139.6 kB / 0.5164 GB, free: 31 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.002468/0.3767, allocations: 1.751 MB / 0.5182 GB, free: 30.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.378, allocations: 0.9065 MB / 0.519 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.378, allocations: 4.344 kB / 0.519 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.3789, allocations: 0.5869 MB / 0.5196 GB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3793, allocations: 54.05 kB / 0.5197 GB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.389, allocations: 7.365 MB / 0.5269 GB, free: 27.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3893, allocations: 274.1 kB / 0.5271 GB, free: 27.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.3895, allocations: 58.88 kB / 0.5272 GB, free: 27.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3897, allocations: 188 kB / 0.5274 GB, free: 27.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3897, allocations: 0 / 0.5274 GB, free: 27.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.4386, allocations: 14.37 MB / 0.5414 GB, free: 22.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.65, allocations: 7.859 kB / 0.5414 GB, free: 22.22 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.288401267956942] Failed to read output from testmodel.py, exit status != 0: 13.771021388005465 13.780762615 13.652386058 Calling exit ...