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.001267/0.001267, allocations: 109.5 kB / 16.57 MB, free: 6.723 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.001264/0.001264, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.362/1.362, allocations: 222.9 MB / 241.2 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05148/0.05148, allocations: 8.09 MB / 299.4 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 361.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.248, allocations: 51.51 MB / 413.2 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003156/0.2512, allocations: 2.688 MB / 415.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.253, allocations: 1.406 MB / 417.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2531, allocations: 4 kB / 417.3 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.2536, allocations: 235.3 kB / 417.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.254, allocations: 235.1 kB / 417.8 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2555, allocations: 0.9849 MB / 418.7 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.2559, allocations: 410.5 kB / 419.1 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2561, allocations: 67.25 kB / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2562, allocations: 179.4 kB / 419.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2565, allocations: 291.1 kB / 419.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.2565, allocations: 20 kB / 419.7 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.257, allocations: 299.7 kB / 420 MB, free: 19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2571, allocations: 143.4 kB / 420.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2573, allocations: 226.5 kB / 420.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.2577, allocations: 0.5126 MB / 420.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2578, allocations: 4 kB / 420.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2578, allocations: 4 kB / 420.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2578, allocations: 3.938 kB / 420.9 MB, free: 18.11 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.00372/0.2615, allocations: 1.357 MB / 422.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2616, allocations: 11.97 kB / 422.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.2617, allocations: 72.11 kB / 422.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.2622, allocations: 467.8 kB / 422.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.2622, allocations: 12.38 kB / 422.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.2623, allocations: 32.36 kB / 422.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.2629, allocations: 414.1 kB / 423.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.263, allocations: 0 / 423.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.263, allocations: 8 kB / 423.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.263, allocations: 4 kB / 423.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.2636, allocations: 340 kB / 423.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.265, allocations: 1.113 MB / 424.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.2659, allocations: 0.5155 MB / 425.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.2663, allocations: 273 kB / 425.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/0.2672, allocations: 0.8665 MB / 426.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006138/0.2678, allocations: 484.5 kB / 426.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.2678, allocations: 0 / 426.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003167/0.271, allocations: 1.404 MB / 428.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2711, allocations: 259.5 kB / 428.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.2717, allocations: 0.6748 MB / 429.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2717, allocations: 33.7 kB / 429.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.2719, allocations: 260.6 kB / 429.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.272, allocations: 114.4 kB / 429.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2721, allocations: 90.05 kB / 429.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.2722, allocations: 374.8 kB / 430 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.2725, allocations: 200.9 kB / 430.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.2728, allocations: 307.1 kB / 430.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.2761, allocations: 1.394 MB / 431.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2761, allocations: 3.938 kB / 431.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001791/0.2779, allocations: 0.9276 MB / 432.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.278, allocations: 79.31 kB / 432.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.278, allocations: 0 / 432.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.2795, allocations: 355.2 kB / 433.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2798, allocations: 59.91 kB / 433.3 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.2814, allocations: 2.158 MB / 435.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.282, allocations: 92.67 kB / 435.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.282, allocations: 23.92 kB / 435.6 MB, free: 2.613 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.0004478/0.2825, allocations: 323.2 kB / 435.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.2826, allocations: 63.25 kB / 435.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.2847, allocations: 1.161 MB / 437.1 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2847, allocations: 7.984 kB / 437.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2847, allocations: 4 kB / 437.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.2848, allocations: 3.938 kB / 437.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.2852, allocations: 0.5517 MB / 437.7 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2852, allocations: 0 / 437.7 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2854, allocations: 27.94 kB / 437.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.2869, allocations: 409.7 kB / 438.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.287, allocations: 15.98 kB / 438.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.2895, allocations: 2.275 MB / 440.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.2896, allocations: 3.984 kB / 440.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.292, allocations: 1.174 MB / 441.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.2923, allocations: 204.2 kB / 441.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2924, allocations: 20 kB / 441.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.2929, allocations: 59.88 kB / 441.8 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.293, allocations: 35.95 kB / 441.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.2931, allocations: 23.98 kB / 441.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000653/0.2937, allocations: 490.8 kB / 442.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2937, allocations: 0 / 442.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.2944, allocations: 140 kB / 442.5 MB, free: 11.33 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.0003454/0.2947, allocations: 176.4 kB / 442.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.2964, allocations: 0.877 MB / 443.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2964, allocations: 0 / 443.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.2975, allocations: 0.7044 MB / 444.3 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.298, allocations: 54.94 kB / 444.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3, allocations: 1.274 MB / 445.6 MB, free: 8.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.3007, allocations: 0.8757 MB / 446.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3008, allocations: 31.42 kB / 446.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3008, allocations: 0 / 446.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Templates: time 0.01408/0.3149, allocations: 9.987 MB / 456.5 MB, free: 13.23 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)