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.001449/0.001449, allocations: 103.9 kB / 16.02 MB, free: 6.344 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.001751/0.001751, allocations: 189.9 kB / 16.95 MB, free: 6.172 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06421/0.06421, allocations: 8.096 MB / 298.9 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 361.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 51.52 MB / 412.7 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003924/0.2445, allocations: 3.22 MB / 416 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2463, allocations: 1.098 MB / 417.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2464, allocations: 8 kB / 417.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.2469, allocations: 139.4 kB / 417.2 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.2475, allocations: 234.7 kB / 417.4 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.2491, allocations: 1.194 MB / 418.6 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2496, allocations: 0.5214 MB / 419.2 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2498, allocations: 130 kB / 419.3 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.2499, allocations: 199.3 kB / 419.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2502, allocations: 258.9 kB / 419.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2502, allocations: 44 kB / 419.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.2506, allocations: 311.8 kB / 420.1 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.2507, allocations: 91.62 kB / 420.2 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.2509, allocations: 234.8 kB / 420.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.2515, allocations: 0.6855 MB / 421.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2515, allocations: 0 / 421.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2515, allocations: 0 / 421.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2515, allocations: 0 / 421.1 MB, free: 17.41 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.004136/0.2557, allocations: 1.308 MB / 422.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2557, allocations: 12.03 kB / 422.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2558, allocations: 48.41 kB / 422.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.2562, allocations: 351.3 kB / 422.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.2563, allocations: 54.81 kB / 422.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.2563, allocations: 36.38 kB / 422.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.2571, allocations: 488.7 kB / 423.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2572, allocations: 4 kB / 423.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.2572, allocations: 12 kB / 423.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2572, allocations: 8 kB / 423.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.258, allocations: 458 kB / 423.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.2603, allocations: 1.972 MB / 425.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009735/0.2613, allocations: 0.5616 MB / 426.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2618, allocations: 333.5 kB / 426.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.262, allocations: 93.42 kB / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008192/0.2628, allocations: 0.5436 MB / 427.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.375e-06/0.2628, allocations: 3.938 kB / 427.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005621/0.2684, allocations: 1.885 MB / 429.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.2685, allocations: 199.9 kB / 429.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2688, allocations: 324.4 kB / 429.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.2688, allocations: 41.7 kB / 429.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.2689, allocations: 172.9 kB / 429.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.269, allocations: 153.7 kB / 430.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.2692, allocations: 106.2 kB / 430.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.2693, allocations: 354.7 kB / 430.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.2697, allocations: 281.1 kB / 430.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2702, allocations: 354 kB / 431.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/0.2775, allocations: 2.154 MB / 433.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2775, allocations: 4 kB / 433.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003068/0.2806, allocations: 1.301 MB / 434.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2806, allocations: 37.69 kB / 434.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2806, allocations: 0 / 434.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/0.2842, allocations: 0.8667 MB / 435.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.2846, allocations: 75.89 kB / 435.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.2862, allocations: 1.269 MB / 436.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.2868, allocations: 95.66 kB / 436.9 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.2869, allocations: 23.98 kB / 437 MB, free: 0.9453 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.0003283/0.2872, allocations: 222.3 kB / 437.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.2873, allocations: 43.53 kB / 437.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.2892, allocations: 1.22 MB / 438.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2892, allocations: 4 kB / 438.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2892, allocations: 0 / 438.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2892, allocations: 3.984 kB / 438.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.2899, allocations: 0.6422 MB / 439.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2899, allocations: 7.938 kB / 439.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.2901, allocations: 47.97 kB / 439.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003808/0.2939, allocations: 0.9122 MB / 440.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.294, allocations: 16 kB / 440.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.2962, allocations: 1.411 MB / 441.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2962, allocations: 0 / 441.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2983, allocations: 1.182 MB / 442.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.2986, allocations: 196.4 kB / 442.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.2987, allocations: 20 kB / 442.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.2992, allocations: 67.92 kB / 443 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.2994, allocations: 44.38 kB / 443 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.2995, allocations: 27.98 kB / 443 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.2998, allocations: 223.1 kB / 443.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.2998, allocations: 0 / 443.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.3003, allocations: 151.8 kB / 443.4 MB, free: 10.34 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.0002735/0.3006, allocations: 139.8 kB / 443.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3026, allocations: 0.9325 MB / 444.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3027, allocations: 3.938 kB / 444.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.304, allocations: 0.6724 MB / 445.1 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.3044, allocations: 56.38 kB / 445.2 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.306, allocations: 0.976 MB / 446.2 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3063, allocations: 0.8007 MB / 447 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.3065, allocations: 47.25 kB / 447 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.3066, allocations: 35.42 kB / 447 MB, free: 6.605 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3066, allocations: 0 / 447 MB, free: 6.605 MB / 318.1 MB Notification: Performance of Templates: time 0.01492/0.3215, allocations: 10.19 MB / 457.2 MB, free: 12.47 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)