Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 88.8 kB / 16.71 MB, free: 6.211 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.001477/0.001477, allocations: 181.3 kB / 17.62 MB, free: 5.863 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.33/1.33, allocations: 223.3 MB / 241.7 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06067/0.06067, allocations: 8.094 MB / 300.9 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 12 kB / 364.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 52.51 MB / 416.7 MB, free: 24.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.001946/0.2046, allocations: 2.328 MB / 419 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2062, allocations: 1.376 MB / 420.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2064, allocations: 4 kB / 420.4 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.2068, allocations: 235.3 kB / 420.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2071, allocations: 247.1 kB / 420.8 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.2085, allocations: 0.9457 MB / 421.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.2089, allocations: 414.5 kB / 422.2 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.209, allocations: 72.67 kB / 422.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2092, allocations: 175.4 kB / 422.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2094, allocations: 279.1 kB / 422.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.2095, allocations: 16 kB / 422.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.2099, allocations: 299.7 kB / 423 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.21, allocations: 143.4 kB / 423.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2101, allocations: 252.1 kB / 423.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.2105, allocations: 0.5047 MB / 423.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2105, allocations: 4 kB / 423.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2105, allocations: 0 / 423.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2106, allocations: 0 / 423.9 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00346/0.214, allocations: 1.269 MB / 425.2 MB, free: 16.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2141, allocations: 15.97 kB / 425.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2142, allocations: 64.19 kB / 425.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.2146, allocations: 479.7 kB / 425.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2146, allocations: 12.38 kB / 425.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.2147, allocations: 24.38 kB / 425.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.2153, allocations: 418.1 kB / 426.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2153, allocations: 0 / 426.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.2154, allocations: 12 kB / 426.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2154, allocations: 4 kB / 426.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2159, allocations: 348 kB / 426.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.2173, allocations: 1.117 MB / 427.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.2181, allocations: 0.5155 MB / 428.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2185, allocations: 277 kB / 428.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008167/0.2193, allocations: 0.8626 MB / 429.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.2199, allocations: 488.5 kB / 429.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.2199, allocations: 4 kB / 429.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003178/0.2231, allocations: 1.409 MB / 431.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.2232, allocations: 251.5 kB / 431.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.2238, allocations: 0.6748 MB / 432.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2238, allocations: 37.7 kB / 432.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.224, allocations: 256.6 kB / 432.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.2241, allocations: 118.4 kB / 432.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.2241, allocations: 53.69 kB / 432.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.2242, allocations: 378.6 kB / 432.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.2245, allocations: 204.9 kB / 433.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2248, allocations: 303.2 kB / 433.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.228, allocations: 1.406 MB / 434.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.228, allocations: 3.938 kB / 434.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001625/0.2296, allocations: 0.9275 MB / 435.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.2297, allocations: 75.33 kB / 435.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2297, allocations: 4 kB / 435.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.2312, allocations: 355.3 kB / 436.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2314, allocations: 63.91 kB / 436.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.2329, allocations: 2.154 MB / 438.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.2334, allocations: 99.34 kB / 438.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.2335, allocations: 20.06 kB / 438.5 MB, free: 2.121 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0003647/0.2339, allocations: 318.9 kB / 438.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.234, allocations: 63.25 kB / 438.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.236, allocations: 1.189 MB / 440.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2361, allocations: 0 / 440.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2361, allocations: 4 kB / 440.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2361, allocations: 3.938 kB / 440.1 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2365, allocations: 0.544 MB / 440.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2365, allocations: 4 kB / 440.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2367, allocations: 27.98 kB / 440.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.2383, allocations: 417.3 kB / 441.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.2383, allocations: 20 kB / 441.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.2407, allocations: 2.267 MB / 443.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2407, allocations: 0 / 443.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.243, allocations: 1.181 MB / 444.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.2433, allocations: 208.2 kB / 444.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.2434, allocations: 20 kB / 444.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.2438, allocations: 63.61 kB / 444.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2439, allocations: 39.94 kB / 444.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.244, allocations: 27.92 kB / 444.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005575/0.2446, allocations: 498.7 kB / 445.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2446, allocations: 0 / 445.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.2451, allocations: 144 kB / 445.5 MB, free: 10.79 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0002836/0.2454, allocations: 159.2 kB / 445.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2469, allocations: 0.8765 MB / 446.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2469, allocations: 0.625 kB / 446.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.248, allocations: 0.7083 MB / 447.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2484, allocations: 62.88 kB / 447.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2501, allocations: 1.29 MB / 448.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2505, allocations: 0.8718 MB / 449.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.2506, allocations: 39.44 kB / 449.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2506, allocations: 0 / 449.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of Templates: time 0.01337/0.264, allocations: 9.9 MB / 459.4 MB, free: 12.75 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)