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.001482/0.001482, allocations: 84.22 kB / 20.98 MB, free: 3.57 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.001303/0.001303, allocations: 165.3 kB / 24.28 MB, free: 276 kB / 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.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.0281/0.0281, allocations: 4.48 MB / 265.6 MB, free: 8.633 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 2.394e-06/2.394e-06, allocations: 0 / 336.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.176e-05, allocations: 4.844 kB / 336.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003557/0.003598, allocations: 3.132 MB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005477, allocations: 1.102 MB / 340.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.005634, allocations: 7.938 kB / 340.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.006081, allocations: 166.9 kB / 340.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.006655, allocations: 250.4 kB / 341.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.007978, allocations: 1.21 MB / 342.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.008459, allocations: 0.5173 MB / 342.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.008632, allocations: 86.75 kB / 342.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.008846, allocations: 291.3 kB / 343.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.009075, allocations: 187.5 kB / 343.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.009123, allocations: 44 kB / 343.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.009589, allocations: 311.5 kB / 343.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.009652, allocations: 87.61 kB / 343.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.009777, allocations: 159.6 kB / 344 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.01036, allocations: 0.619 MB / 344.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01037, allocations: 4 kB / 344.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01037, allocations: 0 / 344.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.01038, allocations: 0 / 344.6 MB, free: 5.418 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.0028/0.01318, allocations: 1.367 MB / 346 MB, free: 4.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.01323, allocations: 8.031 kB / 346 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.01337, allocations: 80.66 kB / 346.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.01383, allocations: 305.2 kB / 346.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.0139, allocations: 54.92 kB / 346.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.01395, allocations: 32.38 kB / 346.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.01444, allocations: 447 kB / 346.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01445, allocations: 192 / 346.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.01449, allocations: 16.12 kB / 346.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.0145, allocations: 4 kB / 346.9 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.01482, allocations: 245.5 kB / 347.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01636, allocations: 1.135 MB / 348.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.01705, allocations: 358.1 kB / 348.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.01726, allocations: 170 kB / 348.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.01738, allocations: 16.31 kB / 348.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.01782, allocations: 0.5393 MB / 349.4 MB, free: 416 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.484e-06/0.01782, allocations: 0 / 349.4 MB, free: 416 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.003436/0.02125, allocations: 1.374 MB / 350.7 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.02133, allocations: 203.9 kB / 350.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.02165, allocations: 358.2 kB / 351.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.02171, allocations: 37.7 kB / 351.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.02184, allocations: 227.8 kB / 351.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.02194, allocations: 162.7 kB / 351.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.02208, allocations: 115.8 kB / 351.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.02221, allocations: 0.5235 MB / 352.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.02244, allocations: 186.8 kB / 352.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.02272, allocations: 292.4 kB / 352.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/0.02345, allocations: 0.6452 MB / 353.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.02345, allocations: 3.938 kB / 353.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001796/0.02525, allocations: 1.028 MB / 354.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.02529, allocations: 41.69 kB / 354.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.0253, allocations: 0 / 354.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.02727, allocations: 0.7785 MB / 355.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.02744, allocations: 71.91 kB / 355.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.02852, allocations: 1.301 MB / 356.7 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.02879, allocations: 71.59 kB / 356.7 MB, free: 8.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.02882, allocations: 16 kB / 356.8 MB, free: 8.715 MB / 282.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 {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.0291, allocations: 251.2 kB / 357 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.02919, allocations: 59.77 kB / 357.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.03042, allocations: 0.7802 MB / 357.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.03042, allocations: 4 kB / 357.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.03043, allocations: 0 / 357.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.03044, allocations: 7.984 kB / 357.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.03079, allocations: 405.2 kB / 358.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03079, allocations: 0 / 358.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.03089, allocations: 43.98 kB / 358.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.03275, allocations: 0.8262 MB / 359.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.03279, allocations: 15.98 kB / 359.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.03392, allocations: 1.394 MB / 360.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03393, allocations: 0 / 360.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.03484, allocations: 0.7687 MB / 361.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.03503, allocations: 127.5 kB / 361.4 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.0351, allocations: 19.94 kB / 361.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.03532, allocations: 47.97 kB / 361.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.03544, allocations: 60.33 kB / 361.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.03547, allocations: 20 kB / 361.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.03564, allocations: 239 kB / 361.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03564, allocations: 0 / 361.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.03599, allocations: 143.9 kB / 361.9 MB, free: 3.336 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.0362, allocations: 139.8 kB / 362.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.03721, allocations: 0.6629 MB / 362.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03721, allocations: 0 / 362.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.03782, allocations: 419.1 kB / 363.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.03811, allocations: 61.27 kB / 363.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.03949, allocations: 0.7753 MB / 364 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.03955, allocations: 106.4 kB / 364.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.03966, allocations: 47.19 kB / 364.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.03974, allocations: 48.42 kB / 364.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.03974, allocations: 0 / 364.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of Templates: time 0.0113/0.05104, allocations: 8.953 MB / 373.1 MB, free: 8.109 MB / 298.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: 3.1456890229601413]