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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.0007569/0.000757, allocations: 92.78 kB / 16.71 MB, free: 6.637 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.000792/0.000792, allocations: 175.3 kB / 17.62 MB, free: 6.16 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.327/1.327, allocations: 223.3 MB / 241.7 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04222/0.04222, allocations: 8.093 MB / 300.9 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 12 kB / 364.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 52.51 MB / 416.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002499/0.2173, allocations: 2.857 MB / 419.5 MB, free: 21.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2192, allocations: 1.107 MB / 420.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.2195, allocations: 7.938 kB / 420.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.22, allocations: 143.4 kB / 420.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.2206, allocations: 230.8 kB / 421 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.2225, allocations: 1.21 MB / 422.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.223, allocations: 481.9 kB / 422.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2232, allocations: 109.4 kB / 422.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.2234, allocations: 179.2 kB / 423 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.2237, allocations: 230.9 kB / 423.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.2238, allocations: 24 kB / 423.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.2243, allocations: 287.8 kB / 423.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.2244, allocations: 71.61 kB / 423.6 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2245, allocations: 236.6 kB / 423.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.225, allocations: 490.7 kB / 424.3 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.225, allocations: 8 kB / 424.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.225, allocations: 0 / 424.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.225, allocations: 0 / 424.3 MB, free: 17.19 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.004258/0.2293, allocations: 1.249 MB / 425.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2293, allocations: 15.97 kB / 425.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2295, allocations: 48.38 kB / 425.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.2299, allocations: 351.4 kB / 425.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.23, allocations: 54.83 kB / 426 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.23, allocations: 32.38 kB / 426 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.2309, allocations: 492.8 kB / 426.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2309, allocations: 0 / 426.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.231, allocations: 16 kB / 426.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.231, allocations: 4 kB / 426.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.2318, allocations: 478 kB / 427 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.2342, allocations: 2.011 MB / 429 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2353, allocations: 0.5624 MB / 429.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.2358, allocations: 337.5 kB / 429.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.2359, allocations: 101.4 kB / 430 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007776/0.2367, allocations: 0.536 MB / 430.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.2367, allocations: 0 / 430.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.006039/0.2428, allocations: 1.912 MB / 432.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.2429, allocations: 199.9 kB / 432.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.2432, allocations: 320.4 kB / 432.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.2432, allocations: 37.7 kB / 433 MB, free: 8.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.2433, allocations: 176.8 kB / 433.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2435, allocations: 149.8 kB / 433.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.2435, allocations: 57.69 kB / 433.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.2436, allocations: 354.7 kB / 433.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.2441, allocations: 297.1 kB / 434 MB, free: 7.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.2446, allocations: 350 kB / 434.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008373/0.2529, allocations: 2.208 MB / 436.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.253, allocations: 4 kB / 436.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003456/0.2564, allocations: 1.32 MB / 437.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2565, allocations: 41.64 kB / 437.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2565, allocations: 0 / 437.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003849/0.2604, allocations: 0.8706 MB / 438.8 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.2607, allocations: 79.83 kB / 438.9 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.2623, allocations: 1.268 MB / 440.1 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.263, allocations: 103.4 kB / 440.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.263, allocations: 20 kB / 440.2 MB, free: 0.6484 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.0003326/0.2634, allocations: 242.3 kB / 440.5 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.2635, allocations: 39.53 kB / 440.5 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.2657, allocations: 1.248 MB / 441.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2658, allocations: 4 kB / 441.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2658, allocations: 4 kB / 441.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2658, allocations: 7.969 kB / 441.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.2665, allocations: 0.6228 MB / 442.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2665, allocations: 0 / 442.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2667, allocations: 55.91 kB / 442.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004179/0.2709, allocations: 0.9161 MB / 443.4 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.271, allocations: 15.98 kB / 443.4 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.2733, allocations: 1.401 MB / 444.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2733, allocations: 0 / 444.8 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2756, allocations: 1.205 MB / 446 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.2759, allocations: 200.4 kB / 446.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.276, allocations: 20 kB / 446.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.2766, allocations: 83.92 kB / 446.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2768, allocations: 48.5 kB / 446.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.2769, allocations: 23.98 kB / 446.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.2772, allocations: 227.1 kB / 446.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2772, allocations: 0 / 446.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005195/0.2777, allocations: 143.9 kB / 446.7 MB, free: 9.98 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.0002925/0.278, allocations: 143.6 kB / 446.9 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.2803, allocations: 0.9403 MB / 447.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2803, allocations: 0 / 447.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.2818, allocations: 0.6803 MB / 448.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2823, allocations: 52.67 kB / 448.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.284, allocations: 1.021 MB / 449.6 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2844, allocations: 0.801 MB / 450.4 MB, free: 6.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2845, allocations: 39.42 kB / 450.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2845, allocations: 4 kB / 450.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Templates: time 0.01117/0.2957, allocations: 7.217 MB / 457.6 MB, free: 15.01 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)