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.001267/0.001267, allocations: 110.7 kB / 17.17 MB, free: 5.887 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.001519/0.001519, allocations: 208.9 kB / 20.14 MB, free: 2.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.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.04227/0.04227, allocations: 6.129 MB / 315.7 MB, free: 1.195 MB / 238.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.001458/0.001458, allocations: 51.66 kB / 439.2 MB, free: 40.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 54.98 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003138/0.1162, allocations: 2.647 MB / 496.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1181, allocations: 1.433 MB / 498.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1182, allocations: 4 kB / 498.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.1186, allocations: 251 kB / 498.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.119, allocations: 262.8 kB / 498.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1205, allocations: 1.004 MB / 499.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.121, allocations: 454.5 kB / 0.4885 GB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1212, allocations: 52.66 kB / 0.4886 GB, free: 4.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1213, allocations: 211.3 kB / 0.4888 GB, free: 4.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1216, allocations: 307.1 kB / 0.4891 GB, free: 3.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.1216, allocations: 32 kB / 0.4891 GB, free: 3.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.1221, allocations: 335.7 kB / 0.4894 GB, free: 3.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1222, allocations: 143.5 kB / 0.4896 GB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1224, allocations: 246.4 kB / 0.4898 GB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.123, allocations: 0.7238 MB / 0.4905 GB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.123, allocations: 0 / 0.4905 GB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.123, allocations: 0 / 0.4905 GB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1231, allocations: 0 / 0.4905 GB, free: 2.414 MB / 350.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.003822/0.1269, allocations: 1.388 MB / 0.4919 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1269, allocations: 12.03 kB / 0.4919 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.127, allocations: 62.72 kB / 0.4919 GB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1271, allocations: 68.52 kB / 0.492 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.1277, allocations: 472.3 kB / 0.4925 GB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1277, allocations: 12.38 kB / 0.4925 GB, free: 312 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.1277, allocations: 27.94 kB / 0.4925 GB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.1284, allocations: 414.1 kB / 0.4929 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1284, allocations: 0 / 0.4929 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.1285, allocations: 8 kB / 0.4929 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1285, allocations: 4 kB / 0.4929 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.1291, allocations: 352 kB / 0.4932 GB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1309, allocations: 0.9929 MB / 0.4942 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009749/0.1319, allocations: 454.3 kB / 0.4946 GB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.1323, allocations: 221 kB / 0.4948 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.1335, allocations: 0.8589 MB / 0.4957 GB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.1343, allocations: 499.1 kB / 0.4962 GB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/0.1343, allocations: 0 / 0.4962 GB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003754/0.138, allocations: 1.346 MB / 0.4975 GB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.1382, allocations: 247.5 kB / 0.4977 GB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.1391, allocations: 0.6787 MB / 0.4984 GB, free: 9.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.1392, allocations: 45.64 kB / 0.4984 GB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1394, allocations: 252.8 kB / 0.4987 GB, free: 9.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1395, allocations: 123 kB / 0.4988 GB, free: 9.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1397, allocations: 86.05 kB / 0.4989 GB, free: 9.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1399, allocations: 386.7 kB / 0.4992 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.1402, allocations: 200.9 kB / 0.4994 GB, free: 8.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.1406, allocations: 298.9 kB / 0.4997 GB, free: 8.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.1445, allocations: 1.394 MB / 0.5011 GB, free: 7.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1445, allocations: 4 kB / 0.5011 GB, free: 7.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002/0.1465, allocations: 0.9196 MB / 0.502 GB, free: 6.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.1465, allocations: 63.39 kB / 0.502 GB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1465, allocations: 4 kB / 0.502 GB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.1481, allocations: 359.3 kB / 0.5024 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.1484, allocations: 63.91 kB / 0.5024 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.1508, allocations: 2.253 MB / 0.5046 GB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.1514, allocations: 87.73 kB / 0.5047 GB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.1515, allocations: 20 kB / 0.5047 GB, free: 3.035 MB / 366.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.0004793/0.1519, allocations: 315.8 kB / 0.505 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.152, allocations: 75.52 kB / 0.5051 GB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.1545, allocations: 1.019 MB / 0.5061 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1545, allocations: 4 kB / 0.5061 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1545, allocations: 0 / 0.5061 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1545, allocations: 0 / 0.5061 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.1552, allocations: 0.5479 MB / 0.5066 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1552, allocations: 0 / 0.5066 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1553, allocations: 27.98 kB / 0.5067 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.157, allocations: 412.6 kB / 0.5071 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.157, allocations: 15.98 kB / 0.5071 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.1599, allocations: 2.388 MB / 0.5094 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1599, allocations: 0 / 0.5094 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.1623, allocations: 1.008 MB / 0.5104 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.1627, allocations: 200.6 kB / 0.5106 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/0.1628, allocations: 27.89 kB / 0.5106 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.1632, allocations: 55.94 kB / 0.5107 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1633, allocations: 35.95 kB / 0.5107 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.1634, allocations: 20 kB / 0.5107 GB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006642/0.1641, allocations: 494.8 kB / 0.5112 GB, free: 12.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1641, allocations: 0 / 0.5112 GB, free: 12.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006032/0.1647, allocations: 147.8 kB / 0.5113 GB, free: 11.95 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.002953/0.1676, allocations: 1.632 MB / 0.5129 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.1692, allocations: 0.7671 MB / 0.5137 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1692, allocations: 4 kB / 0.5137 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.1703, allocations: 0.509 MB / 0.5142 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1707, allocations: 49.66 kB / 0.5142 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.1817, allocations: 6.894 MB / 0.521 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.1827, allocations: 0.8794 MB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.183, allocations: 55.25 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.1833, allocations: 191.4 kB / 0.5221 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of SimCode: time 1.973e-06/0.1833, allocations: 0 / 0.5221 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.2387, allocations: 14.33 MB / 0.536 GB, free: 2.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.41, allocations: 5.109 kB / 0.5361 GB, free: 2.508 MB / 398.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.33481345399923] Failed to read output from testmodel.py, exit status != 0: 13.509607554005925 13.524332227 13.39827281 Calling exit ...