Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.001305/0.001305, allocations: 111.7 kB / 17.17 MB, free: 5.855 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.001415/0.001415, allocations: 216 kB / 20.14 MB, free: 2.898 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04116/0.04116, allocations: 6.131 MB / 315.7 MB, free: 1.141 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.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 48.38 kB / 439.2 MB, free: 40.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 54.99 MB / 494.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003683/0.1105, allocations: 3.179 MB / 497.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1123, allocations: 1.153 MB / 498.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1124, allocations: 12 kB / 498.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.113, allocations: 163 kB / 498.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.1136, allocations: 254.5 kB / 499 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1154, allocations: 1.268 MB / 0.4885 GB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.116, allocations: 0.5058 MB / 0.489 GB, free: 3.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1162, allocations: 88.17 kB / 0.4891 GB, free: 3.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1163, allocations: 207.2 kB / 0.4893 GB, free: 3.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.1166, allocations: 247 kB / 0.4895 GB, free: 3.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1167, allocations: 44 kB / 0.4896 GB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.1172, allocations: 323.7 kB / 0.4899 GB, free: 3.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.1173, allocations: 91.59 kB / 0.49 GB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1174, allocations: 218.9 kB / 0.4902 GB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.1181, allocations: 0.7007 MB / 0.4909 GB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1181, allocations: 0 / 0.4909 GB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1181, allocations: 4 kB / 0.4909 GB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1181, allocations: 0 / 0.4909 GB, free: 2.016 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004593/0.1227, allocations: 1.33 MB / 0.4922 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1228, allocations: 8.031 kB / 0.4922 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.1228, allocations: 66.73 kB / 0.4922 GB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.123, allocations: 52.64 kB / 0.4923 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1234, allocations: 355.5 kB / 0.4926 GB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.1234, allocations: 54.83 kB / 0.4927 GB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.1235, allocations: 36.36 kB / 0.4927 GB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1245, allocations: 480.6 kB / 0.4932 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1245, allocations: 0 / 0.4932 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.1246, allocations: 16 kB / 0.4932 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1246, allocations: 4 kB / 0.4932 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009828/0.1256, allocations: 473.9 kB / 0.4936 GB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.1285, allocations: 1.548 MB / 0.4952 GB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.1297, allocations: 487.9 kB / 0.4956 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.1302, allocations: 273.5 kB / 0.4959 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.1304, allocations: 93.41 kB / 0.496 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/0.1314, allocations: 0.5435 MB / 0.4965 GB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.515e-06/0.1314, allocations: 0 / 0.4965 GB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006393/0.1378, allocations: 1.799 MB / 0.4983 GB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1379, allocations: 195.9 kB / 0.4984 GB, free: 9.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.1383, allocations: 316.5 kB / 0.4987 GB, free: 9.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.1384, allocations: 45.7 kB / 0.4988 GB, free: 9.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1385, allocations: 173 kB / 0.499 GB, free: 9.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1387, allocations: 170.6 kB / 0.4991 GB, free: 9.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.1389, allocations: 98.23 kB / 0.4992 GB, free: 9.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.139, allocations: 362.7 kB / 0.4996 GB, free: 8.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.1396, allocations: 285.1 kB / 0.4998 GB, free: 8.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.1401, allocations: 350 kB / 0.5002 GB, free: 8.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008465/0.1486, allocations: 2.153 MB / 0.5023 GB, free: 5.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1486, allocations: 4 kB / 0.5023 GB, free: 5.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003649/0.1523, allocations: 1.25 MB / 0.5035 GB, free: 4.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.1523, allocations: 41.69 kB / 0.5035 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1523, allocations: 3.938 kB / 0.5035 GB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004153/0.1565, allocations: 0.865 MB / 0.5044 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1568, allocations: 75.89 kB / 0.5045 GB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.1588, allocations: 1.257 MB / 0.5057 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.1595, allocations: 95.61 kB / 0.5058 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.1596, allocations: 19.98 kB / 0.5058 GB, free: 2.254 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.16, allocations: 238.1 kB / 0.506 GB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1602, allocations: 43.77 kB / 0.5061 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.1624, allocations: 1.041 MB / 0.5071 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.1624, allocations: 8 kB / 0.5071 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1624, allocations: 0 / 0.5071 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1624, allocations: 3.984 kB / 0.5071 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.1632, allocations: 0.6191 MB / 0.5077 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1632, allocations: 4 kB / 0.5077 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.1634, allocations: 43.91 kB / 0.5077 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003907/0.1673, allocations: 0.9118 MB / 0.5086 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.1674, allocations: 23.89 kB / 0.5087 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.1697, allocations: 1.408 MB / 0.51 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1697, allocations: 0 / 0.51 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.1717, allocations: 1.01 MB / 0.511 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.172, allocations: 196.7 kB / 0.5112 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1721, allocations: 20 kB / 0.5112 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.1727, allocations: 63.92 kB / 0.5113 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.1728, allocations: 48.38 kB / 0.5113 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.1729, allocations: 19.98 kB / 0.5113 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.1732, allocations: 231.1 kB / 0.5116 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1732, allocations: 0 / 0.5116 GB, free: 12.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.1737, allocations: 143.9 kB / 0.5117 GB, free: 12.04 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002496/0.1762, allocations: 1.602 MB / 0.5133 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.1784, allocations: 0.8151 MB / 0.5141 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1784, allocations: 0 / 0.5141 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.1797, allocations: 484.6 kB / 0.5145 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.1801, allocations: 49.08 kB / 0.5146 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.1915, allocations: 5.462 MB / 0.5199 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.1921, allocations: 0.8007 MB / 0.5207 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1923, allocations: 47.38 kB / 0.5207 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.1925, allocations: 131.4 kB / 0.5209 GB, free: 2.449 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1925, allocations: 4 kB / 0.5209 GB, free: 2.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.2327, allocations: 14.53 MB / 0.535 GB, free: 4.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.33, allocations: 3.938 kB / 0.5351 GB, free: 4.105 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.222359907987993] Failed to read output from testmodel.py, exit status != 0: 12.434481846008566 12.463761317 12.340637425 Calling exit ...