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.001362/0.001362, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001437/0.001437, allocations: 217.6 kB / 23.03 MB, free: 5.016 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.03891/0.03891, allocations: 6.147 MB / 319.4 MB, free: 12.73 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.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.001543/0.001543, allocations: 59.91 kB / 444.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 55.01 MB / 499.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004479/0.1209, allocations: 2.938 MB / 0.4906 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.123, allocations: 1.075 MB / 0.4917 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1232, allocations: 8 kB / 0.4917 GB, free: 9.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.1236, allocations: 159 kB / 0.4918 GB, free: 9.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.1243, allocations: 258.4 kB / 0.4921 GB, free: 9.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.1266, allocations: 1.182 MB / 0.4932 GB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.1272, allocations: 0.498 MB / 0.4937 GB, free: 7.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1274, allocations: 72.66 kB / 0.4938 GB, free: 7.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1276, allocations: 207.2 kB / 0.494 GB, free: 7.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.128, allocations: 219 kB / 0.4942 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.128, allocations: 47.94 kB / 0.4942 GB, free: 7.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.1286, allocations: 299.8 kB / 0.4945 GB, free: 6.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1287, allocations: 87.62 kB / 0.4946 GB, free: 6.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1289, allocations: 191.1 kB / 0.4948 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.1298, allocations: 0.7007 MB / 0.4955 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1298, allocations: 0 / 0.4955 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1298, allocations: 0 / 0.4955 GB, free: 5.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1298, allocations: 0 / 0.4955 GB, free: 5.984 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004662/0.1345, allocations: 1.255 MB / 0.4967 GB, free: 4.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1345, allocations: 16.03 kB / 0.4967 GB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.859e-05/0.1346, allocations: 66.72 kB / 0.4968 GB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1347, allocations: 56.59 kB / 0.4968 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.1352, allocations: 290.4 kB / 0.4971 GB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.1353, allocations: 54.92 kB / 0.4972 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.1354, allocations: 28.38 kB / 0.4972 GB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1364, allocations: 0.6233 MB / 0.4978 GB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1364, allocations: 0 / 0.4978 GB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.1365, allocations: 16 kB / 0.4978 GB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1365, allocations: 8 kB / 0.4978 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009759/0.1375, allocations: 0.4962 MB / 0.4983 GB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.1402, allocations: 1.271 MB / 0.4995 GB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.1414, allocations: 0.5297 MB / 0.5001 GB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.142, allocations: 315.1 kB / 0.5004 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1421, allocations: 8.328 kB / 0.5004 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.1433, allocations: 0.6807 MB / 0.501 GB, free: 24 kB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.765e-06/0.1433, allocations: 0 / 0.501 GB, free: 24 kB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006439/0.1497, allocations: 1.858 MB / 0.5028 GB, free: 14.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1499, allocations: 199.9 kB / 0.503 GB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.1503, allocations: 320.5 kB / 0.5033 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.1504, allocations: 41.64 kB / 0.5034 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1506, allocations: 185 kB / 0.5036 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.1507, allocations: 158.7 kB / 0.5037 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.1509, allocations: 110.1 kB / 0.5038 GB, free: 13.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1511, allocations: 350.7 kB / 0.5041 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.1517, allocations: 322.8 kB / 0.5045 GB, free: 12.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.1524, allocations: 425.1 kB / 0.5049 GB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008556/0.161, allocations: 2.163 MB / 0.507 GB, free: 9.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.161, allocations: 0 / 0.507 GB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003792/0.1648, allocations: 1.346 MB / 0.5083 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.1648, allocations: 37.69 kB / 0.5083 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1648, allocations: 3.938 kB / 0.5083 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/0.1688, allocations: 0.8955 MB / 0.5092 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1691, allocations: 79.89 kB / 0.5093 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.1712, allocations: 1.335 MB / 0.5106 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.1719, allocations: 87.73 kB / 0.5107 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.172, allocations: 23.98 kB / 0.5107 GB, free: 5.855 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: 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.0004877/0.1724, allocations: 222.4 kB / 0.5109 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1726, allocations: 43.77 kB / 0.5109 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.1748, allocations: 1.137 MB / 0.5121 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1748, allocations: 4 kB / 0.5121 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1748, allocations: 0 / 0.5121 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1748, allocations: 4 kB / 0.5121 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.1755, allocations: 497.2 kB / 0.5125 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1755, allocations: 3.938 kB / 0.5125 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.1757, allocations: 43.97 kB / 0.5126 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/0.1795, allocations: 0.9412 MB / 0.5135 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/0.1796, allocations: 19.98 kB / 0.5135 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.1819, allocations: 1.494 MB / 0.515 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1819, allocations: 0 / 0.515 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.184, allocations: 1.098 MB / 0.5161 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.1843, allocations: 123.5 kB / 0.5162 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.1844, allocations: 20 kB / 0.5162 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.227/0.4114, allocations: 65.97 kB / 0.5163 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.4116, allocations: 50.84 kB / 0.5163 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.4117, allocations: 24.06 kB / 0.5163 GB, free: 31.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.412, allocations: 228.9 kB / 0.5165 GB, free: 31.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.412, allocations: 0 / 0.5165 GB, free: 31.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005842/0.4125, allocations: 144.5 kB / 0.5167 GB, free: 31.81 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.002064/0.4146, allocations: 1.678 MB / 0.5183 GB, free: 31.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.4164, allocations: 0.8978 MB / 0.5192 GB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4164, allocations: 2.375 kB / 0.5192 GB, free: 30.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.4176, allocations: 0.5253 MB / 0.5197 GB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4179, allocations: 49.62 kB / 0.5198 GB, free: 30.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4286, allocations: 5.735 MB / 0.5254 GB, free: 28.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.4287, allocations: 202.8 kB / 0.5256 GB, free: 28.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.4289, allocations: 46.28 kB / 0.5256 GB, free: 28.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.4291, allocations: 134.2 kB / 0.5257 GB, free: 28.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4291, allocations: 1.5 kB / 0.5257 GB, free: 28.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.4724, allocations: 13.45 MB / 0.5389 GB, free: 24.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.32, allocations: 17.66 kB / 0.5389 GB, free: 24.02 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.044695887248963] Failed to read output from testmodel.py, exit status != 0: 13.44277023198083 13.463414993 13.329765558 Calling exit ...