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.000652/0.000652, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008896/0.001542, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007037/0.0007037, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000886/0.00159, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8793/0.8793, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07816/0.9575, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.02116/0.02116, allocations: 4.46 MB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003468/0.02463, allocations: 2.089 MB / 250.7 MB, free: 8.211 MB / 250.7 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: translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 252 MB, free: 6.922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.806e-05, allocations: 10.25 kB / 252 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002653/0.002671, allocations: 3.139 MB / 255.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004059, allocations: 1.133 MB / 256.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004174, allocations: 4 kB / 256.3 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.004457, allocations: 174.8 kB / 256.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.004816, allocations: 258.2 kB / 256.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.005956, allocations: 1.194 MB / 257.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.006413, allocations: 0.5212 MB / 258.4 MB, free: 476 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.006545, allocations: 93.2 kB / 258.5 MB, free: 376 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.006824, allocations: 338.4 kB / 258.8 MB, free: 36 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.007042, allocations: 183.6 kB / 259 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.007092, allocations: 44 kB / 259.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.007509, allocations: 331.4 kB / 259.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.007557, allocations: 63.75 kB / 259.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.007661, allocations: 119.8 kB / 259.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.00816, allocations: 0.549 MB / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.008169, allocations: 0 / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00817, allocations: 0 / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.008179, allocations: 0 / 260.1 MB, free: 14.76 MB / 266.7 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.002295/0.01047, allocations: 1.453 MB / 261.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.0105, allocations: 12.03 kB / 261.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.01059, allocations: 60.89 kB / 261.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.01083, allocations: 226.4 kB / 261.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.01087, allocations: 50.92 kB / 261.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.01091, allocations: 36.38 kB / 261.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.01127, allocations: 425.8 kB / 262.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01128, allocations: 4.125 kB / 262.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.01131, allocations: 16.12 kB / 262.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.01132, allocations: 8 kB / 262.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.01152, allocations: 186.2 kB / 262.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01259, allocations: 0.7782 MB / 263.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.01296, allocations: 348.6 kB / 263.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.0131, allocations: 143.2 kB / 263.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.01317, allocations: 12.33 kB / 263.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.0135, allocations: 0.5276 MB / 264.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.482e-06/0.0135, allocations: 0 / 264.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002064/0.01557, allocations: 1.166 MB / 265.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.01563, allocations: 182.2 kB / 265.7 MB, free: 8.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01579, allocations: 296.5 kB / 266 MB, free: 8.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.01583, allocations: 37.7 kB / 266 MB, free: 8.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.01589, allocations: 157.5 kB / 266.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/0.01598, allocations: 170.5 kB / 266.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01609, allocations: 102.1 kB / 266.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.01619, allocations: 354.7 kB / 266.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.01631, allocations: 145.6 kB / 266.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.01646, allocations: 217.2 kB / 267.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.0169, allocations: 0.53 MB / 267.7 MB, free: 6.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.0169, allocations: 4.031 kB / 267.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005228/0.01742, allocations: 0.5334 MB / 268.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.01745, allocations: 41.69 kB / 268.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01746, allocations: 0 / 268.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.0191, allocations: 0.753 MB / 269 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01926, allocations: 83.89 kB / 269.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008053/0.02007, allocations: 0.9504 MB / 270.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.02027, allocations: 71.72 kB / 270.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.02029, allocations: 15.98 kB / 270.1 MB, free: 4.211 MB / 266.7 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 {(5,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.02046, allocations: 202.6 kB / 270.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.02052, allocations: 51.95 kB / 270.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.0211, allocations: 0.6172 MB / 271 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.0211, allocations: 4 kB / 271 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.02111, allocations: 3.938 kB / 271 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.02111, allocations: 4 kB / 271 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.02136, allocations: 310.5 kB / 271.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.02136, allocations: 0 / 271.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.02146, allocations: 51.97 kB / 271.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.02157, allocations: 67.56 kB / 271.4 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.02332, allocations: 0.8072 MB / 272.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.02335, allocations: 15.98 kB / 272.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007446/0.02409, allocations: 1.043 MB / 273.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0241, allocations: 0 / 273.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.02485, allocations: 0.6031 MB / 273.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.02491, allocations: 27.95 kB / 273.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.02508, allocations: 39.97 kB / 274 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.02516, allocations: 52.34 kB / 274 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.02519, allocations: 19.98 kB / 274 MB, free: 140 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.02527, allocations: 104.6 kB / 274.1 MB, free: 32 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02527, allocations: 0 / 274.1 MB, free: 32 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.02551, allocations: 140 kB / 274.3 MB, free: 15.89 MB / 282.7 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 {(5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.02567, allocations: 129.8 kB / 274.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.02644, allocations: 0.5718 MB / 275 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.02645, allocations: 8 kB / 275 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.02689, allocations: 402.7 kB / 275.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.02714, allocations: 210.8 kB / 275.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.03235, allocations: 0.7888 MB / 276.4 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.0324, allocations: 106.4 kB / 276.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.677e-05/0.0325, allocations: 47.25 kB / 276.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.03262, allocations: 107.3 kB / 276.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03262, allocations: 0 / 276.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Templates: time 0.0102/0.04282, allocations: 9.679 MB / 286.3 MB, free: 3.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4476227406412363]