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.001208/0.001208, allocations: 102.9 kB / 16.98 MB, free: 6.18 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.00126/0.00126, allocations: 187.6 kB / 17.91 MB, free: 5.285 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.375/1.375, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05226/0.05226, allocations: 8.091 MB / 299.9 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 362.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2209, allocations: 51.5 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003132/0.224, allocations: 2.645 MB / 416.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2259, allocations: 1.367 MB / 417.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.226, allocations: 3.938 kB / 417.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.2265, allocations: 263 kB / 418.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.2268, allocations: 258.8 kB / 418.4 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.2284, allocations: 1.019 MB / 419.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.2288, allocations: 470.5 kB / 419.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.229, allocations: 72.64 kB / 420 MB, free: 19.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2291, allocations: 207.4 kB / 420.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.2294, allocations: 303.1 kB / 420.5 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.2295, allocations: 32 kB / 420.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.23, allocations: 311.7 kB / 420.8 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2301, allocations: 147.4 kB / 421 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2303, allocations: 246.5 kB / 421.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.2309, allocations: 0.7146 MB / 421.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2309, allocations: 3.938 kB / 421.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2309, allocations: 0 / 421.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2309, allocations: 0 / 421.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.003616/0.2346, allocations: 1.354 MB / 423.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2346, allocations: 11.89 kB / 423.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2347, allocations: 68.19 kB / 423.4 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.2352, allocations: 467.8 kB / 423.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2352, allocations: 20.38 kB / 423.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.2353, allocations: 28.31 kB / 423.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.2359, allocations: 410.1 kB / 424.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2359, allocations: 4 kB / 424.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.2359, allocations: 8 kB / 424.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.236, allocations: 4 kB / 424.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2365, allocations: 344 kB / 424.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.2378, allocations: 1.109 MB / 425.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.2386, allocations: 0.5123 MB / 426.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.239, allocations: 284.9 kB / 426.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.2398, allocations: 0.8627 MB / 427.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.2404, allocations: 488.5 kB / 427.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2404, allocations: 0 / 427.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002999/0.2434, allocations: 1.408 MB / 429.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.2435, allocations: 251.5 kB / 429.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.2441, allocations: 0.6748 MB / 430.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2441, allocations: 41.69 kB / 430.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2443, allocations: 252.6 kB / 430.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.2444, allocations: 114.4 kB / 430.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2445, allocations: 90.05 kB / 430.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.2446, allocations: 382.8 kB / 431 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.2448, allocations: 196.9 kB / 431.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2451, allocations: 299.2 kB / 431.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.2481, allocations: 1.402 MB / 432.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2482, allocations: 3.938 kB / 432.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001591/0.2497, allocations: 0.9315 MB / 433.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.2498, allocations: 73.83 kB / 433.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2498, allocations: 4 kB / 433.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.2513, allocations: 355.3 kB / 434.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2515, allocations: 63.91 kB / 434.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.2532, allocations: 2.253 MB / 436.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.2537, allocations: 95.5 kB / 436.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.2538, allocations: 16 kB / 436.7 MB, free: 1.938 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.0003891/0.2542, allocations: 342.1 kB / 437 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.2543, allocations: 63.25 kB / 437.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.2562, allocations: 1.165 MB / 438.3 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2562, allocations: 4 kB / 438.3 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2563, allocations: 0 / 438.3 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2563, allocations: 3.984 kB / 438.3 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.2568, allocations: 0.5517 MB / 438.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2568, allocations: 0 / 438.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2569, allocations: 31.92 kB / 438.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.2585, allocations: 403 kB / 439.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.2586, allocations: 19.94 kB / 439.3 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.261, allocations: 2.377 MB / 441.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.261, allocations: 0 / 441.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.2633, allocations: 1.174 MB / 442.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.2636, allocations: 200.2 kB / 443 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2637, allocations: 27.92 kB / 443 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.2641, allocations: 59.64 kB / 443.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.2643, allocations: 35.95 kB / 443.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.2643, allocations: 19.98 kB / 443.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005999/0.2649, allocations: 0.491 MB / 443.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2649, allocations: 3.938 kB / 443.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005156/0.2655, allocations: 136 kB / 443.8 MB, free: 10.52 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.0003201/0.2658, allocations: 171.1 kB / 444 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.2674, allocations: 0.8882 MB / 444.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2674, allocations: 0 / 444.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2685, allocations: 0.7093 MB / 445.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.2689, allocations: 57.33 kB / 445.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2706, allocations: 1.115 MB / 446.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.2711, allocations: 0.8757 MB / 447.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.2712, allocations: 39.42 kB / 447.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2712, allocations: 4 kB / 447.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of Templates: time 0.01309/0.2843, allocations: 9.977 MB / 457.6 MB, free: 12.55 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)