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.00145/0.00145, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001458/0.001458, allocations: 217.8 kB / 23.81 MB, free: 4.516 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.489/1.489, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.03782/0.03782, allocations: 6.145 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 51.92 kB / 445.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1129, allocations: 55.02 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004738/0.1177, allocations: 2.924 MB / 0.4914 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.12, allocations: 1.082 MB / 0.4924 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1202, allocations: 4 kB / 0.4924 GB, free: 9.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.1207, allocations: 155.1 kB / 0.4926 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.1214, allocations: 254.5 kB / 0.4928 GB, free: 9.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1237, allocations: 1.181 MB / 0.494 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007827/0.1245, allocations: 0.498 MB / 0.4945 GB, free: 7.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.1247, allocations: 80.64 kB / 0.4945 GB, free: 7.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.125, allocations: 211.2 kB / 0.4947 GB, free: 7.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.1254, allocations: 251 kB / 0.495 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.1255, allocations: 44 kB / 0.495 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.1261, allocations: 323.7 kB / 0.4953 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.471e-05/0.1262, allocations: 83.67 kB / 0.4954 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.1264, allocations: 187.1 kB / 0.4956 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.1273, allocations: 0.7085 MB / 0.4963 GB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1273, allocations: 0 / 0.4963 GB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1273, allocations: 0 / 0.4963 GB, free: 5.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1273, allocations: 0 / 0.4963 GB, free: 5.969 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.004735/0.1321, allocations: 1.247 MB / 0.4975 GB, free: 4.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1321, allocations: 8.031 kB / 0.4975 GB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.467e-05/0.1321, allocations: 12.78 kB / 0.4975 GB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.878e-05/0.1322, allocations: 74.66 kB / 0.4976 GB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1324, allocations: 52.66 kB / 0.4976 GB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.1328, allocations: 294.3 kB / 0.4979 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.1329, allocations: 54.92 kB / 0.498 GB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.133, allocations: 36.12 kB / 0.498 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1341, allocations: 0.6156 MB / 0.4986 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1341, allocations: 0 / 0.4986 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.1342, allocations: 16 kB / 0.4986 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1342, allocations: 4 kB / 0.4986 GB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009832/0.1352, allocations: 0.504 MB / 0.4991 GB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.1379, allocations: 1.275 MB / 0.5004 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1392, allocations: 0.5258 MB / 0.5009 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.1397, allocations: 307.2 kB / 0.5012 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.1399, allocations: 8.328 kB / 0.5012 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.141, allocations: 0.6872 MB / 0.5018 GB, free: 4 kB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 3.085e-06/0.141, allocations: 0 / 0.5018 GB, free: 4 kB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006691/0.1477, allocations: 1.858 MB / 0.5037 GB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.1478, allocations: 203.9 kB / 0.5039 GB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.1483, allocations: 320.4 kB / 0.5042 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.1484, allocations: 41.69 kB / 0.5042 GB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1486, allocations: 177 kB / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1488, allocations: 162.6 kB / 0.5045 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.149, allocations: 102.2 kB / 0.5046 GB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1492, allocations: 350.8 kB / 0.505 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.1498, allocations: 330.7 kB / 0.5053 GB, free: 12.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.1504, allocations: 409.1 kB / 0.5057 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008683/0.1591, allocations: 2.171 MB / 0.5078 GB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1591, allocations: 4 kB / 0.5078 GB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003734/0.1628, allocations: 1.33 MB / 0.5091 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.1629, allocations: 45.62 kB / 0.5091 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1629, allocations: 3.984 kB / 0.5091 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00395/0.1669, allocations: 0.8941 MB / 0.51 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.1672, allocations: 79.83 kB / 0.5101 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.1693, allocations: 1.339 MB / 0.5114 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.17, allocations: 91.67 kB / 0.5115 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.17, allocations: 23.98 kB / 0.5115 GB, free: 5.844 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.0004212/0.1705, allocations: 232 kB / 0.5117 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.1706, allocations: 55.66 kB / 0.5118 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.173, allocations: 1.136 MB / 0.5129 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.173, allocations: 4 kB / 0.5129 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.173, allocations: 0 / 0.5129 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.173, allocations: 3.984 kB / 0.5129 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.1736, allocations: 485.3 kB / 0.5134 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1736, allocations: 0 / 0.5134 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1738, allocations: 47.92 kB / 0.5134 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/0.1779, allocations: 0.9451 MB / 0.5143 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.178, allocations: 15.98 kB / 0.5143 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.1805, allocations: 1.49 MB / 0.5158 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1805, allocations: 0 / 0.5158 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.1827, allocations: 1.11 MB / 0.5169 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.1831, allocations: 123.7 kB / 0.517 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.1832, allocations: 28 kB / 0.517 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2109/0.3941, allocations: 55.34 kB / 0.5171 GB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3943, allocations: 48.17 kB / 0.5171 GB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.3944, allocations: 22.81 kB / 0.5171 GB, free: 31.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.3946, allocations: 225.5 kB / 0.5174 GB, free: 31.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 2.875 kB / 0.5174 GB, free: 31.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.3952, allocations: 137.4 kB / 0.5175 GB, free: 31.76 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.002104/0.3973, allocations: 1.685 MB / 0.5191 GB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.3991, allocations: 0.9001 MB / 0.52 GB, free: 30.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3991, allocations: 1.844 kB / 0.52 GB, free: 30.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4003, allocations: 0.5244 MB / 0.5205 GB, free: 30.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.4007, allocations: 48.36 kB / 0.5206 GB, free: 30.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4114, allocations: 5.739 MB / 0.5262 GB, free: 28.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.4116, allocations: 199.6 kB / 0.5264 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.4118, allocations: 47.78 kB / 0.5264 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.412, allocations: 133.5 kB / 0.5265 GB, free: 28.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.412, allocations: 0 / 0.5265 GB, free: 28.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.4471, allocations: 13.13 MB / 0.5394 GB, free: 24.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.08, allocations: 5.531 kB / 0.5394 GB, free: 24.5 MB / 382.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.76962283591274] Failed to read output from testmodel.py, exit status != 0: 14.257956393994391 14.275168262 14.144410987 Calling exit ...