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/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.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.0009665/0.0009713, allocations: 103.8 kB / 16.03 MB, free: 6.367 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.001032/0.001032, allocations: 186.1 kB / 16.95 MB, free: 6.176 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04462/0.04462, allocations: 8.102 MB / 298.9 MB, free: 6.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 361.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 51.51 MB / 412.7 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00364/0.2897, allocations: 2.69 MB / 415.4 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.2918, allocations: 1.344 MB / 416.8 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.292, allocations: 4 kB / 416.8 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.2925, allocations: 239.2 kB / 417 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.2929, allocations: 239.1 kB / 417.2 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2947, allocations: 0.9682 MB / 418.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.2953, allocations: 462.5 kB / 418.7 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2955, allocations: 76.64 kB / 418.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2957, allocations: 199.4 kB / 418.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.296, allocations: 307.1 kB / 419.2 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2961, allocations: 36 kB / 419.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.2966, allocations: 315.7 kB / 419.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.2968, allocations: 155.4 kB / 419.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.297, allocations: 242.5 kB / 420 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.2978, allocations: 0.703 MB / 420.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2978, allocations: 0 / 420.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2978, allocations: 3.938 kB / 420.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2978, allocations: 7.938 kB / 420.7 MB, free: 17.82 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.003713/0.3016, allocations: 1.358 MB / 422 MB, free: 16.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3016, allocations: 8.031 kB / 422 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3018, allocations: 64.19 kB / 422.1 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.3023, allocations: 467.8 kB / 422.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3023, allocations: 20.38 kB / 422.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.3024, allocations: 24.36 kB / 422.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.3031, allocations: 422.1 kB / 423 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3031, allocations: 0 / 423 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.3032, allocations: 8 kB / 423 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.3032, allocations: 8 kB / 423 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.3037, allocations: 344 kB / 423.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3052, allocations: 1.101 MB / 424.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.306, allocations: 0.5155 MB / 425 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.3064, allocations: 273 kB / 425.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/0.3072, allocations: 0.8665 MB / 426.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.3079, allocations: 488.5 kB / 426.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.3079, allocations: 0 / 426.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003396/0.3113, allocations: 1.404 MB / 428 MB, free: 10.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.3115, allocations: 247.5 kB / 428.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.3121, allocations: 0.6787 MB / 428.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3122, allocations: 37.64 kB / 429 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.3124, allocations: 260.6 kB / 429.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3125, allocations: 114.4 kB / 429.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3127, allocations: 94.05 kB / 429.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3129, allocations: 374.8 kB / 429.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3131, allocations: 200.9 kB / 430 MB, free: 8.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.3134, allocations: 307.1 kB / 430.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.3167, allocations: 1.394 MB / 431.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3167, allocations: 11.94 kB / 431.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001568/0.3183, allocations: 0.9197 MB / 432.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.3184, allocations: 79.31 kB / 432.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3184, allocations: 4 kB / 432.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.3198, allocations: 355.3 kB / 433 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.32, allocations: 59.91 kB / 433.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.3217, allocations: 2.267 MB / 435.4 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.3221, allocations: 83.48 kB / 435.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3222, allocations: 23.92 kB / 435.5 MB, free: 2.211 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.00041/0.3226, allocations: 326 kB / 435.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.3227, allocations: 67.25 kB / 435.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3248, allocations: 1.165 MB / 437 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3248, allocations: 8 kB / 437 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3248, allocations: 0 / 437 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3248, allocations: 3.984 kB / 437 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.3252, allocations: 0.5517 MB / 437.6 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3253, allocations: 3.938 kB / 437.6 MB, free: 0 / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.3254, allocations: 27.98 kB / 437.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.327, allocations: 403 kB / 438 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.327, allocations: 23.92 kB / 438 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3294, allocations: 2.362 MB / 440.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3294, allocations: 3.938 kB / 440.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.3317, allocations: 1.17 MB / 441.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.332, allocations: 192.2 kB / 441.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.3321, allocations: 24 kB / 441.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3325, allocations: 63.88 kB / 441.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3327, allocations: 35.95 kB / 441.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3327, allocations: 19.98 kB / 441.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.3333, allocations: 494.8 kB / 442.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3333, allocations: 0 / 442.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005676/0.3339, allocations: 147.9 kB / 442.5 MB, free: 10.82 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.0003556/0.3343, allocations: 183.5 kB / 442.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.336, allocations: 0.8886 MB / 443.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.336, allocations: 0 / 443.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3372, allocations: 0.716 MB / 444.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3377, allocations: 51 kB / 444.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3396, allocations: 1.233 MB / 445.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3401, allocations: 0.8757 MB / 446.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.3402, allocations: 51.25 kB / 446.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.3403, allocations: 35.38 kB / 446.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3403, allocations: 0 / 446.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of Templates: time 0.01415/0.3545, allocations: 8.054 MB / 454.6 MB, free: 14.66 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)