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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 88.98 kB / 20.25 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 169.2 kB / 23.57 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0379/0.0379, allocations: 4.485 MB / 264.8 MB, free: 8.598 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.521e-05, allocations: 6.25 kB / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002831/0.002856, allocations: 2.595 MB / 338.3 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.004746, allocations: 1.355 MB / 339.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.004873, allocations: 7.938 kB / 339.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.005388, allocations: 258.7 kB / 340 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.005783, allocations: 262.7 kB / 340.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.007325, allocations: 0.9609 MB / 341.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.007719, allocations: 450.4 kB / 341.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.007838, allocations: 44.89 kB / 341.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.008073, allocations: 267.4 kB / 341.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.008342, allocations: 287.3 kB / 342.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.008401, allocations: 32 kB / 342.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.008827, allocations: 307.5 kB / 342.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.008948, allocations: 147.5 kB / 342.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.009139, allocations: 147.5 kB / 342.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.009827, allocations: 0.7711 MB / 343.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009832, allocations: 8 kB / 343.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009833, allocations: 0 / 343.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.009841, allocations: 0 / 343.6 MB, free: 5.723 MB / 266.7 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.003785/0.01363, allocations: 1.46 MB / 345.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.01366, allocations: 8.031 kB / 345.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.0138, allocations: 84.52 kB / 345.1 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.01428, allocations: 368.6 kB / 345.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.0143, allocations: 16.38 kB / 345.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.01434, allocations: 36.36 kB / 345.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.01493, allocations: 0.5357 MB / 346.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01494, allocations: 8.188 kB / 346.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.01498, allocations: 11.94 kB / 346.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.01499, allocations: 4 kB / 346.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.01542, allocations: 307.7 kB / 346.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.01677, allocations: 0.9064 MB / 347.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.0175, allocations: 395.8 kB / 347.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.01779, allocations: 243.3 kB / 347.9 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008483/0.01864, allocations: 0.6834 MB / 348.6 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006483/0.01929, allocations: 0.6142 MB / 349.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.01929, allocations: 0 / 349.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.003551/0.02284, allocations: 1.182 MB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.02305, allocations: 251.3 kB / 350.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.02395, allocations: 0.6939 MB / 351.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.024, allocations: 37.7 kB / 351.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.02432, allocations: 339.6 kB / 351.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.02446, allocations: 127 kB / 351.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.02465, allocations: 115.7 kB / 352 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/0.02505, allocations: 0.5938 MB / 352.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.02538, allocations: 204.2 kB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.02588, allocations: 410.4 kB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.02698, allocations: 0.7383 MB / 353.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02698, allocations: 0 / 353.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002019/0.029, allocations: 0.8884 MB / 354.8 MB, free: 9.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.02909, allocations: 76.94 kB / 354.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.0291, allocations: 4 kB / 354.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.031, allocations: 434.4 kB / 355.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.03127, allocations: 67.91 kB / 355.4 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.03447, allocations: 3.04 MB / 358.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.03494, allocations: 63.64 kB / 358.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.035, allocations: 20 kB / 358.5 MB, free: 5.914 MB / 282.7 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.0004792/0.03547, allocations: 309.2 kB / 358.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.03563, allocations: 95.45 kB / 358.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.03809, allocations: 0.9911 MB / 359.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.0381, allocations: 4 kB / 359.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.0381, allocations: 3.984 kB / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.03811, allocations: 0 / 359.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006801/0.03879, allocations: 488.1 kB / 360.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03879, allocations: 0 / 360.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.03894, allocations: 39.92 kB / 360.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.04076, allocations: 480.3 kB / 360.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.04081, allocations: 15.98 kB / 360.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.04455, allocations: 3.158 MB / 364 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.04455, allocations: 3.984 kB / 364 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.04719, allocations: 1.055 MB / 365.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.0475, allocations: 119.4 kB / 365.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.0476, allocations: 24 kB / 365.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.04794, allocations: 39.97 kB / 365.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.04808, allocations: 39.94 kB / 365.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.04813, allocations: 19.98 kB / 365.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005903/0.04872, allocations: 430.7 kB / 365.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04872, allocations: 0 / 365.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.04926, allocations: 143.9 kB / 365.9 MB, free: 14.14 MB / 298.7 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.000363/0.04962, allocations: 178.9 kB / 366.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.05138, allocations: 0.9095 MB / 367 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.05138, allocations: 0 / 367 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.05254, allocations: 0.6649 MB / 367.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.05292, allocations: 70.02 kB / 367.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.05498, allocations: 1.017 MB / 368.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.05529, allocations: 261.8 kB / 369 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.05543, allocations: 47.25 kB / 369 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.05553, allocations: 40.48 kB / 369.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05553, allocations: 0 / 369.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Templates: time 0.01688/0.07241, allocations: 7.821 MB / 376.9 MB, free: 3.023 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8224469310371205]