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.001844/0.001844, allocations: 108.3 kB / 19.74 MB, free: 1.906 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.002218/0.002218, allocations: 220.8 kB / 23.04 MB, free: 4.988 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.03803/0.03803, allocations: 6.135 MB / 319.4 MB, free: 12.74 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.001538/0.001538, allocations: 47.92 kB / 444.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 55.03 MB / 499.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003867/0.1071, allocations: 2.488 MB / 0.4902 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1096, allocations: 1.305 MB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1097, allocations: 8 kB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.1103, allocations: 255 kB / 0.4917 GB, free: 9.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.1108, allocations: 262.8 kB / 0.492 GB, free: 9.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.1127, allocations: 0.9381 MB / 0.4929 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.1135, allocations: 442.5 kB / 0.4933 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1137, allocations: 44.91 kB / 0.4933 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.114, allocations: 203.4 kB / 0.4935 GB, free: 7.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.1145, allocations: 303 kB / 0.4938 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.1145, allocations: 32 kB / 0.4938 GB, free: 7.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008434/0.1154, allocations: 311.7 kB / 0.4941 GB, free: 7.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.1156, allocations: 151.4 kB / 0.4943 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.1159, allocations: 186.9 kB / 0.4945 GB, free: 7.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1172, allocations: 0.7355 MB / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1172, allocations: 0 / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1172, allocations: 0 / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.1172, allocations: 0 / 0.4952 GB, free: 6.289 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.004348/0.1215, allocations: 1.313 MB / 0.4965 GB, free: 4.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.1216, allocations: 15.97 kB / 0.4965 GB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/0.1217, allocations: 54.73 kB / 0.4965 GB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1218, allocations: 68.52 kB / 0.4966 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.1227, allocations: 414.4 kB / 0.497 GB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1227, allocations: 20.31 kB / 0.497 GB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.1228, allocations: 32.11 kB / 0.497 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.1238, allocations: 0.5919 MB / 0.4976 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1238, allocations: 0 / 0.4976 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.1238, allocations: 12 kB / 0.4976 GB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1238, allocations: 4 kB / 0.4976 GB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.1246, allocations: 419.9 kB / 0.498 GB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1263, allocations: 0.8556 MB / 0.4989 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.1273, allocations: 450.3 kB / 0.4993 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.1277, allocations: 292.4 kB / 0.4996 GB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.1289, allocations: 0.606 MB / 0.5002 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008628/0.1297, allocations: 0.6536 MB / 0.5008 GB, free: 200 kB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.1297, allocations: 0 / 0.5008 GB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003583/0.1333, allocations: 1.388 MB / 0.5022 GB, free: 14.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.1335, allocations: 255.5 kB / 0.5024 GB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.1344, allocations: 0.6787 MB / 0.5031 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.1344, allocations: 33.7 kB / 0.5031 GB, free: 13.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1346, allocations: 260.8 kB / 0.5034 GB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1347, allocations: 130.9 kB / 0.5035 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1349, allocations: 90.05 kB / 0.5036 GB, free: 13.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1351, allocations: 370.8 kB / 0.5039 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1355, allocations: 272.2 kB / 0.5042 GB, free: 12.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.136, allocations: 425.6 kB / 0.5046 GB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.1397, allocations: 1.414 MB / 0.506 GB, free: 10.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1397, allocations: 4 kB / 0.506 GB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002161/0.1419, allocations: 1.03 MB / 0.507 GB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.142, allocations: 75.33 kB / 0.507 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.142, allocations: 4 kB / 0.5071 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.1435, allocations: 389 kB / 0.5074 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.1437, allocations: 67.91 kB / 0.5075 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.1463, allocations: 2.227 MB / 0.5097 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.1468, allocations: 79.69 kB / 0.5097 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.1469, allocations: 28.08 kB / 0.5098 GB, free: 6.48 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.0005243/0.1474, allocations: 327 kB / 0.5101 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1475, allocations: 75.52 kB / 0.5101 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.1501, allocations: 1.126 MB / 0.5112 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1501, allocations: 3.938 kB / 0.5113 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1501, allocations: 8 kB / 0.5113 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1501, allocations: 3.984 kB / 0.5113 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.1507, allocations: 456.2 kB / 0.5117 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1507, allocations: 0 / 0.5117 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1508, allocations: 31.98 kB / 0.5117 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.1524, allocations: 447.4 kB / 0.5122 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.1524, allocations: 23.98 kB / 0.5122 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.1552, allocations: 2.36 MB / 0.5145 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1552, allocations: 3.938 kB / 0.5145 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.1576, allocations: 1.134 MB / 0.5156 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.1579, allocations: 127.4 kB / 0.5157 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1581, allocations: 20 kB / 0.5157 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2051/0.3632, allocations: 55.81 kB / 0.5158 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3634, allocations: 38.23 kB / 0.5158 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.3634, allocations: 17.8 kB / 0.5158 GB, free: 31.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.364, allocations: 495.6 kB / 0.5163 GB, free: 30.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.364, allocations: 0 / 0.5163 GB, free: 30.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006252/0.3647, allocations: 140.2 kB / 0.5164 GB, free: 30.99 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.002357/0.367, allocations: 1.755 MB / 0.5182 GB, free: 30.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3683, allocations: 0.9003 MB / 0.519 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3684, allocations: 0 / 0.519 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.3692, allocations: 0.5938 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.0003615/0.3695, allocations: 56.61 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.01101/0.3806, allocations: 7.361 MB / 0.5269 GB, free: 27.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3809, allocations: 270.9 kB / 0.5271 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.381, allocations: 54.39 kB / 0.5272 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.3812, allocations: 188.2 kB / 0.5274 GB, free: 27.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3813, allocations: 3.844 kB / 0.5274 GB, free: 27.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/0.4271, allocations: 14.37 MB / 0.5414 GB, free: 22.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.09, allocations: 19.84 kB / 0.5414 GB, free: 22.21 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 & 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: 16.847159821074456] Failed to read output from testmodel.py, exit status != 0: 14.216796034015715 14.228195279 14.108732177 Calling exit ...