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.001123/0.001123, allocations: 104.2 kB / 16.68 MB, free: 5.809 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.001065/0.001065, allocations: 194.8 kB / 17.61 MB, free: 5.422 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.543/1.543, allocations: 222.9 MB / 241.3 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04882/0.04882, allocations: 8.097 MB / 299.5 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 361.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2094, allocations: 51.51 MB / 413.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003253/0.2127, allocations: 3.238 MB / 416.6 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2143, allocations: 1.094 MB / 417.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.2145, allocations: 8 kB / 417.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.2149, allocations: 139.4 kB / 417.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.2154, allocations: 226.8 kB / 418.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.2171, allocations: 1.202 MB / 419.3 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.2176, allocations: 0.5175 MB / 419.8 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2178, allocations: 133.9 kB / 419.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.218, allocations: 207.2 kB / 420.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2182, allocations: 251 kB / 420.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.2183, allocations: 44 kB / 420.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.2187, allocations: 319.7 kB / 420.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.2187, allocations: 87.61 kB / 420.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2189, allocations: 226.9 kB / 421.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.2193, allocations: 0.5066 MB / 421.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2194, allocations: 0 / 421.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2194, allocations: 0 / 421.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2194, allocations: 0 / 421.6 MB, free: 17.55 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.004093/0.2235, allocations: 1.315 MB / 422.9 MB, free: 16.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2235, allocations: 15.89 kB / 422.9 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2237, allocations: 44.47 kB / 422.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.2241, allocations: 351.3 kB / 423.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.2241, allocations: 62.77 kB / 423.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.2242, allocations: 32.38 kB / 423.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.225, allocations: 484.8 kB / 423.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.225, allocations: 0 / 423.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.2251, allocations: 16 kB / 423.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2251, allocations: 4 kB / 423.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.2258, allocations: 462 kB / 424.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.2281, allocations: 1.984 MB / 426.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.2291, allocations: 0.5468 MB / 426.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.2295, allocations: 333.5 kB / 427.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.2297, allocations: 101.4 kB / 427.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/0.2305, allocations: 0.5358 MB / 427.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.2305, allocations: 0 / 427.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005608/0.2361, allocations: 1.885 MB / 429.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.2362, allocations: 203.9 kB / 429.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2365, allocations: 320.4 kB / 430.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.2366, allocations: 41.7 kB / 430.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.2367, allocations: 168.9 kB / 430.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2368, allocations: 157.7 kB / 430.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2369, allocations: 106.2 kB / 430.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.237, allocations: 358.7 kB / 431 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.2374, allocations: 289.1 kB / 431.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.2379, allocations: 342.1 kB / 431.6 MB, free: 7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/0.2456, allocations: 2.169 MB / 433.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2457, allocations: 0 / 433.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003284/0.249, allocations: 1.293 MB / 435.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.249, allocations: 44.34 kB / 435.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2491, allocations: 0 / 435.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.2527, allocations: 0.8705 MB / 436 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.253, allocations: 71.89 kB / 436.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2545, allocations: 1.279 MB / 437.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.2552, allocations: 91.53 kB / 437.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.2552, allocations: 19.98 kB / 437.5 MB, free: 1.078 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.000314/0.2555, allocations: 222.4 kB / 437.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.2556, allocations: 43.53 kB / 437.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.2576, allocations: 1.228 MB / 439 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2576, allocations: 8 kB / 439 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2576, allocations: 0 / 439 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2577, allocations: 3.984 kB / 439 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.2583, allocations: 0.6305 MB / 439.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2583, allocations: 3.938 kB / 439.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2585, allocations: 43.97 kB / 439.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/0.2624, allocations: 0.9161 MB / 440.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.2625, allocations: 19.94 kB / 440.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.2647, allocations: 1.397 MB / 442 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2647, allocations: 4 kB / 442 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.2667, allocations: 1.178 MB / 443.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.267, allocations: 200.4 kB / 443.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2671, allocations: 23.98 kB / 443.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.2677, allocations: 63.88 kB / 443.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2678, allocations: 48.38 kB / 443.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/0.2679, allocations: 28.05 kB / 443.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003678/0.2683, allocations: 227.1 kB / 443.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2683, allocations: 0 / 443.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006292/0.269, allocations: 147.9 kB / 443.9 MB, free: 10.48 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.0002841/0.2692, allocations: 143.8 kB / 444 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.2714, allocations: 0.9364 MB / 445 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2715, allocations: 0 / 445 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.2729, allocations: 0.6685 MB / 445.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2733, allocations: 53.14 kB / 445.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.275, allocations: 1.001 MB / 446.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2754, allocations: 0.8007 MB / 447.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2756, allocations: 39.42 kB / 447.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2756, allocations: 7.875 kB / 447.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of Templates: time 0.009998/0.2856, allocations: 7.247 MB / 454.8 MB, free: 15.5 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)