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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 106 kB / 16.31 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 191.2 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05691/0.05691, allocations: 8.107 MB / 299.2 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.91 kB / 361.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 51.52 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003774/0.2665, allocations: 3.201 MB / 416.5 MB, free: 22.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2685, allocations: 1.102 MB / 417.6 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.2687, allocations: 4 kB / 417.6 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.2692, allocations: 170.9 kB / 417.7 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2698, allocations: 262.4 kB / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.2716, allocations: 1.271 MB / 419.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.272, allocations: 0.5253 MB / 419.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2722, allocations: 126 kB / 419.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2724, allocations: 207.2 kB / 420.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.2726, allocations: 250.9 kB / 420.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.2727, allocations: 48 kB / 420.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.2732, allocations: 311.7 kB / 420.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.437e-05/0.2733, allocations: 91.61 kB / 420.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2735, allocations: 230.9 kB / 421 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.2741, allocations: 0.6816 MB / 421.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2742, allocations: 0 / 421.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2742, allocations: 0 / 421.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2742, allocations: 0 / 421.7 MB, free: 17.11 MB / 302.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.00428/0.2785, allocations: 1.312 MB / 423 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2785, allocations: 12.03 kB / 423 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2787, allocations: 44.47 kB / 423.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.2792, allocations: 355.3 kB / 423.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.2793, allocations: 54.83 kB / 423.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.2794, allocations: 40.3 kB / 423.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007872/0.2802, allocations: 484.8 kB / 424 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2802, allocations: 0 / 424 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.2803, allocations: 12 kB / 424 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2803, allocations: 4 kB / 424 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.281, allocations: 462 kB / 424.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.2834, allocations: 1.98 MB / 426.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.2844, allocations: 0.5546 MB / 427 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.2849, allocations: 337.5 kB / 427.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.285, allocations: 85.44 kB / 427.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008483/0.2859, allocations: 0.5475 MB / 427.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.417e-06/0.2859, allocations: 0 / 427.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005597/0.2915, allocations: 1.884 MB / 429.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.2916, allocations: 199.9 kB / 430 MB, free: 8.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.292, allocations: 320.4 kB / 430.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.292, allocations: 45.69 kB / 430.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.2921, allocations: 168.9 kB / 430.5 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2923, allocations: 165.7 kB / 430.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.2924, allocations: 98.23 kB / 430.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.2925, allocations: 358.7 kB / 431.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.2929, allocations: 281.1 kB / 431.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.2934, allocations: 354 kB / 431.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/0.3006, allocations: 2.165 MB / 433.9 MB, free: 4.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3006, allocations: 0 / 433.9 MB, free: 4.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002972/0.3036, allocations: 1.305 MB / 435.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3037, allocations: 41.69 kB / 435.3 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3037, allocations: 0 / 435.3 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/0.307, allocations: 0.8683 MB / 436.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3073, allocations: 75.83 kB / 436.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3087, allocations: 1.267 MB / 437.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.3093, allocations: 91.53 kB / 437.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.3093, allocations: 19.98 kB / 437.6 MB, free: 0.6289 MB / 302.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.0003393/0.3097, allocations: 214.4 kB / 437.8 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.3098, allocations: 51.52 kB / 437.9 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3119, allocations: 1.232 MB / 439.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3119, allocations: 4 kB / 439.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3119, allocations: 0 / 439.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3119, allocations: 3.984 kB / 439.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.3125, allocations: 0.6383 MB / 439.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3126, allocations: 0 / 439.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3127, allocations: 47.91 kB / 439.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/0.3163, allocations: 0.9078 MB / 440.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.3164, allocations: 19.98 kB / 440.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.3184, allocations: 1.397 MB / 442.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3185, allocations: 4 kB / 442.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.3204, allocations: 1.186 MB / 443.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.3206, allocations: 196.4 kB / 443.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.3208, allocations: 20 kB / 443.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.3213, allocations: 67.92 kB / 443.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.3214, allocations: 48.38 kB / 443.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.3215, allocations: 23.98 kB / 443.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002828/0.3218, allocations: 223.1 kB / 443.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3218, allocations: 0 / 443.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005226/0.3223, allocations: 143.9 kB / 444 MB, free: 10.04 MB / 318.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.0003/0.3226, allocations: 143.8 kB / 444.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.3247, allocations: 0.9402 MB / 445.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3248, allocations: 3.938 kB / 445.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.3261, allocations: 0.6765 MB / 445.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3265, allocations: 48.97 kB / 445.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.328, allocations: 0.8425 MB / 446.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3284, allocations: 0.8046 MB / 447.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.3286, allocations: 47.25 kB / 447.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.3287, allocations: 35.42 kB / 447.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3287, allocations: 0 / 447.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of Templates: time 0.01718/0.3459, allocations: 10.55 MB / 458.1 MB, free: 11.94 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)