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.001074/0.001074, allocations: 82.64 kB / 21.48 MB, free: 3.02 MB / 18.57 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.001233/0.001233, allocations: 171 kB / 24.88 MB, free: 8.758 MB / 18.57 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.03761/0.03761, allocations: 4.486 MB / 266.3 MB, free: 8.422 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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 337.7 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.504e-05, allocations: 6.312 kB / 337.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.001949/0.001974, allocations: 1.763 MB / 339.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.003432, allocations: 1.707 MB / 341.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.003523, allocations: 4 kB / 341.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.003799, allocations: 143 kB / 341.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.004045, allocations: 154.9 kB / 341.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.004838, allocations: 0.8557 MB / 342.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.005123, allocations: 358.5 kB / 342.7 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.005216, allocations: 44.91 kB / 342.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005337, allocations: 195.6 kB / 342.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005453, allocations: 123.6 kB / 343.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.005482, allocations: 28 kB / 343.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.005743, allocations: 239.5 kB / 343.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.005775, allocations: 51.77 kB / 343.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.005841, allocations: 111.7 kB / 343.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.006214, allocations: 446.6 kB / 343.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006217, allocations: 7.938 kB / 343.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006217, allocations: 0 / 343.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.006222, allocations: 4 kB / 343.9 MB, free: 6.766 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001803/0.008025, allocations: 1.115 MB / 345 MB, free: 5.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.008055, allocations: 12.03 kB / 345.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.008131, allocations: 44.75 kB / 345.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.008307, allocations: 231.6 kB / 345.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.008327, allocations: 20.31 kB / 345.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.00839, allocations: 28.5 kB / 345.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.008673, allocations: 388.2 kB / 345.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.008681, allocations: 192 / 345.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.008703, allocations: 12.12 kB / 345.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.008708, allocations: 8 kB / 345.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.008858, allocations: 138.2 kB / 345.9 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.009525, allocations: 0.6129 MB / 346.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.009889, allocations: 252.6 kB / 346.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.009976, allocations: 113.6 kB / 346.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.01049, allocations: 0.6012 MB / 347.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.01072, allocations: 447.8 kB / 347.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.01073, allocations: 4 kB / 347.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001114/0.01184, allocations: 0.6662 MB / 348.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.01188, allocations: 221.6 kB / 348.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.012, allocations: 308 kB / 349.1 MB, free: 1.211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01202, allocations: 33.7 kB / 349.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.01208, allocations: 195.6 kB / 349.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.01213, allocations: 115.1 kB / 349.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.01221, allocations: 95.28 kB / 349.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.01227, allocations: 0.5117 MB / 350 MB, free: 244 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.01234, allocations: 90.16 kB / 350.1 MB, free: 148 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01251, allocations: 291.4 kB / 350.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.01287, allocations: 441.7 kB / 350.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01287, allocations: 0 / 350.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005282/0.0134, allocations: 485.2 kB / 351.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.01343, allocations: 41.7 kB / 351.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01344, allocations: 0 / 351.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008012/0.01424, allocations: 366.8 kB / 351.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01439, allocations: 75.89 kB / 351.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.01582, allocations: 2.788 MB / 354.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.01605, allocations: 59.7 kB / 354.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.01608, allocations: 19.97 kB / 354.7 MB, free: 11.24 MB / 282.7 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.0002668/0.01635, allocations: 255.1 kB / 354.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.01642, allocations: 43.81 kB / 355 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.01737, allocations: 0.5553 MB / 355.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01737, allocations: 4 kB / 355.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01737, allocations: 0 / 355.5 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01738, allocations: 3.984 kB / 355.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.01765, allocations: 260.8 kB / 355.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01765, allocations: 0 / 355.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.01779, allocations: 31.92 kB / 355.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.0188, allocations: 422.3 kB / 356.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.01883, allocations: 11.94 kB / 356.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.02058, allocations: 2.858 MB / 359.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.02058, allocations: 4.156 kB / 359.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.02163, allocations: 0.7074 MB / 359.8 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.02176, allocations: 75.69 kB / 359.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.02182, allocations: 20.03 kB / 359.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.022, allocations: 31.97 kB / 359.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.02209, allocations: 35.94 kB / 360 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.02212, allocations: 15.98 kB / 360 MB, free: 5.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.02224, allocations: 205.1 kB / 360.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02224, allocations: 0 / 360.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.02261, allocations: 92 kB / 360.3 MB, free: 5.328 MB / 282.7 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.0002008/0.02281, allocations: 143.2 kB / 360.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.02356, allocations: 0.5559 MB / 361 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02357, allocations: 0 / 361 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.02405, allocations: 426.4 kB / 361.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.02428, allocations: 48.28 kB / 361.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.02537, allocations: 0.5942 MB / 362 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.925e-05/0.02542, allocations: 97.31 kB / 362.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.02551, allocations: 26.27 kB / 362.1 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.02566, allocations: 118.2 kB / 362.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02566, allocations: 4 kB / 362.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of Templates: time 0.01005/0.03571, allocations: 6.434 MB / 368.7 MB, free: 12.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.064316305331886]