Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.001257/0.001257, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.001521/0.001521, allocations: 216 kB / 23.05 MB, free: 4.996 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.03956/0.03956, allocations: 6.134 MB / 319.4 MB, free: 12.98 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.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 444.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 55.04 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003313/0.1058, allocations: 1.812 MB / 0.4896 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1084, allocations: 1.751 MB / 0.4913 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1086, allocations: 8 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000482/0.109, allocations: 139.2 kB / 0.4914 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.1095, allocations: 147 kB / 0.4916 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1113, allocations: 0.9514 MB / 0.4925 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.1118, allocations: 342.7 kB / 0.4928 GB, free: 9.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.112, allocations: 52.84 kB / 0.4929 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1122, allocations: 135.5 kB / 0.493 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1124, allocations: 159.3 kB / 0.4932 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.1124, allocations: 32 kB / 0.4932 GB, free: 8.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.113, allocations: 255.7 kB / 0.4935 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.113, allocations: 51.72 kB / 0.4935 GB, free: 8.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1132, allocations: 159.2 kB / 0.4937 GB, free: 8.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.1139, allocations: 0.4945 MB / 0.4941 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1139, allocations: 0 / 0.4941 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1139, allocations: 0 / 0.4941 GB, free: 7.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1139, allocations: 0 / 0.4941 GB, free: 7.812 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003875/0.1178, allocations: 1.005 MB / 0.4951 GB, free: 6.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1178, allocations: 12.03 kB / 0.4951 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.1179, allocations: 50.67 kB / 0.4952 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.118, allocations: 40.75 kB / 0.4952 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1183, allocations: 233.1 kB / 0.4954 GB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1184, allocations: 16.38 kB / 0.4955 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.1185, allocations: 24.56 kB / 0.4955 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.1191, allocations: 338.8 kB / 0.4958 GB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1192, allocations: 0 / 0.4958 GB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.1192, allocations: 8 kB / 0.4958 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1192, allocations: 4 kB / 0.4958 GB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.1198, allocations: 275.8 kB / 0.4961 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1212, allocations: 0.7958 MB / 0.4969 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.122, allocations: 306.5 kB / 0.4971 GB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.1224, allocations: 156.8 kB / 0.4973 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009326/0.1233, allocations: 0.6441 MB / 0.4979 GB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.124, allocations: 383.7 kB / 0.4983 GB, free: 3.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/0.124, allocations: 4 kB / 0.4983 GB, free: 3.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002813/0.1268, allocations: 0.8133 MB / 0.4991 GB, free: 2.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.127, allocations: 221.6 kB / 0.4993 GB, free: 2.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1273, allocations: 257.9 kB / 0.4995 GB, free: 2.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.1273, allocations: 37.7 kB / 0.4996 GB, free: 1.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1274, allocations: 156.8 kB / 0.4997 GB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1275, allocations: 99.17 kB / 0.4998 GB, free: 1.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1277, allocations: 85.61 kB / 0.4999 GB, free: 1.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1278, allocations: 338.8 kB / 0.5002 GB, free: 1.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.1281, allocations: 140.3 kB / 0.5004 GB, free: 1.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.1285, allocations: 238.6 kB / 0.5006 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.1318, allocations: 1.021 MB / 0.5016 GB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1318, allocations: 4 kB / 0.5016 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001175/0.133, allocations: 0.5819 MB / 0.5022 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.1331, allocations: 41.69 kB / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1331, allocations: 0 / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.1346, allocations: 363.3 kB / 0.5025 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.1349, allocations: 63.91 kB / 0.5026 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.1373, allocations: 2.165 MB / 0.5047 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.1378, allocations: 83.75 kB / 0.5048 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.1378, allocations: 19.98 kB / 0.5048 GB, free: 12.29 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0003306/0.1381, allocations: 212.7 kB / 0.505 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.1382, allocations: 39.75 kB / 0.5051 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.14, allocations: 0.6803 MB / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.14, allocations: 4 kB / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.14, allocations: 7.938 kB / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.14, allocations: 0 / 0.5057 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.1406, allocations: 408.3 kB / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1406, allocations: 3.984 kB / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1408, allocations: 27.98 kB / 0.5062 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.1424, allocations: 414.6 kB / 0.5066 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1424, allocations: 11.98 kB / 0.5066 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.1451, allocations: 2.274 MB / 0.5088 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1451, allocations: 7.922 kB / 0.5088 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.1471, allocations: 0.8826 MB / 0.5097 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.1473, allocations: 75.72 kB / 0.5097 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.1474, allocations: 16 kB / 0.5097 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.1478, allocations: 56 kB / 0.5098 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1479, allocations: 35.95 kB / 0.5098 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.1479, allocations: 15.98 kB / 0.5098 GB, free: 6.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1481, allocations: 189.2 kB / 0.51 GB, free: 6.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0 / 0.51 GB, free: 6.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1486, allocations: 99.94 kB / 0.5101 GB, free: 6.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.002649/0.1512, allocations: 1.474 MB / 0.5116 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1526, allocations: 0.5642 MB / 0.5121 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1526, allocations: 0 / 0.5121 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.1534, allocations: 385.8 kB / 0.5125 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1537, allocations: 33.19 kB / 0.5125 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.159, allocations: 3.503 MB / 0.5159 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1875/0.3465, allocations: 0.7578 MB / 0.5167 GB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.3466, allocations: 28.94 kB / 0.5167 GB, free: 30.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3468, allocations: 94.64 kB / 0.5168 GB, free: 30.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3468, allocations: 0 / 0.5168 GB, free: 30.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.3915, allocations: 9.826 MB / 0.5264 GB, free: 28.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.86, allocations: 17.67 kB / 0.5264 GB, free: 28.99 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2_res.csv --start-time 0 --stop-time 3000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.2 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.713143293003668] Failed to read output from testmodel.py, exit status != 0: 13.982671883000876 14.003908717 13.886099337 Calling exit ...