Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 107.8 kB / 16.69 MB, free: 5.906 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.001082/0.001083, allocations: 190.7 kB / 17.61 MB, free: 5.473 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.374/1.374, allocations: 222.9 MB / 241.3 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05316/0.05316, allocations: 8.097 MB / 299.5 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 361.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2134, allocations: 51.52 MB / 413.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002502/0.216, allocations: 1.866 MB / 415.3 MB, free: 23.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2175, allocations: 1.684 MB / 416.9 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.2176, allocations: 4 kB / 417 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.218, allocations: 123.5 kB / 417.1 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.2183, allocations: 123.3 kB / 417.2 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.2195, allocations: 0.8915 MB / 418.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.2199, allocations: 362.6 kB / 418.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.22, allocations: 72.69 kB / 418.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2201, allocations: 139.5 kB / 418.6 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2203, allocations: 159.3 kB / 418.8 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2203, allocations: 32 kB / 418.8 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.2206, allocations: 235.8 kB / 419.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.2207, allocations: 55.7 kB / 419.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2208, allocations: 155.2 kB / 419.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.2211, allocations: 369.1 kB / 419.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2211, allocations: 0 / 419.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2211, allocations: 0 / 419.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2211, allocations: 0 / 419.6 MB, free: 19.5 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00323/0.2243, allocations: 1.061 MB / 420.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2244, allocations: 15.89 kB / 420.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.2245, allocations: 32.56 kB / 420.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2247, allocations: 294.8 kB / 421 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2248, allocations: 16.38 kB / 421 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.2249, allocations: 20.56 kB / 421.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.2254, allocations: 335.2 kB / 421.4 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2254, allocations: 4 kB / 421.4 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.2255, allocations: 8 kB / 421.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2255, allocations: 4 kB / 421.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.2259, allocations: 267.8 kB / 421.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.227, allocations: 0.9283 MB / 422.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/0.2278, allocations: 443.4 kB / 423 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.2281, allocations: 196.8 kB / 423.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.2288, allocations: 0.827 MB / 424 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.2293, allocations: 390.4 kB / 424.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.2293, allocations: 0 / 424.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002541/0.2319, allocations: 1.029 MB / 425.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.2319, allocations: 221.6 kB / 425.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.2321, allocations: 258.6 kB / 425.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.2322, allocations: 37.7 kB / 426 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.2322, allocations: 140.7 kB / 426.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.2323, allocations: 106.5 kB / 426.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2324, allocations: 81.67 kB / 426.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.2325, allocations: 338.8 kB / 426.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2327, allocations: 128.4 kB / 426.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.2329, allocations: 258.4 kB / 427 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.2359, allocations: 1.009 MB / 428 MB, free: 10.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2359, allocations: 4 kB / 428 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008793/0.2368, allocations: 0.5936 MB / 428.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2368, allocations: 38.03 kB / 428.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2368, allocations: 8 kB / 428.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.2382, allocations: 359.1 kB / 429 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2385, allocations: 59.91 kB / 429.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.24, allocations: 2.268 MB / 431.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.2404, allocations: 75.77 kB / 431.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2405, allocations: 12.06 kB / 431.4 MB, free: 6.957 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.2407, allocations: 218.8 kB / 431.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.2408, allocations: 35.66 kB / 431.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.2423, allocations: 0.8314 MB / 432.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2423, allocations: 7.984 kB / 432.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2423, allocations: 3.938 kB / 432.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2423, allocations: 3.938 kB / 432.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.2426, allocations: 429.2 kB / 432.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2426, allocations: 0 / 432.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2428, allocations: 35.91 kB / 433 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.2442, allocations: 415 kB / 433.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.2443, allocations: 15.98 kB / 433.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.2459, allocations: 2.354 MB / 435.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.246, allocations: 160 / 435.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.2477, allocations: 1.066 MB / 436.8 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2479, allocations: 148.6 kB / 436.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.2479, allocations: 20 kB / 437 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.2483, allocations: 51.94 kB / 437 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2484, allocations: 39.89 kB / 437 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.2485, allocations: 16.06 kB / 437.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2486, allocations: 194 kB / 437.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2486, allocations: 0 / 437.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.249, allocations: 88 kB / 437.3 MB, free: 0.6992 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.2492, allocations: 145.2 kB / 437.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.2505, allocations: 0.6625 MB / 438.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2505, allocations: 0.6875 kB / 438.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.2514, allocations: 0.5571 MB / 438.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2516, allocations: 38.69 kB / 438.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2527, allocations: 0.7336 MB / 439.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.253, allocations: 0.7605 MB / 440.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.2531, allocations: 31.44 kB / 440.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2531, allocations: 4 kB / 440.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Templates: time 0.008057/0.2612, allocations: 6.177 MB / 446.4 MB, free: 7.48 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)