Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 100.9 kB / 16.02 MB, free: 6.262 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.001692/0.001693, allocations: 194 kB / 16.95 MB, free: 6.105 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04455/0.04455, allocations: 8.101 MB / 298.9 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 361.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 51.51 MB / 412.7 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003691/0.3032, allocations: 1.678 MB / 414.4 MB, free: 24.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3046, allocations: 0.6158 MB / 415 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.3047, allocations: 0 / 415 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3049, allocations: 19.91 kB / 415 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.3051, allocations: 31.83 kB / 415.1 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.3057, allocations: 103.8 kB / 415.2 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.306, allocations: 187.5 kB / 415.4 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3062, allocations: 20.97 kB / 415.4 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3063, allocations: 83.69 kB / 415.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3065, allocations: 83.72 kB / 415.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.3066, allocations: 12 kB / 415.6 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3067, allocations: 83.92 kB / 415.6 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.3068, allocations: 23.92 kB / 415.7 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.307, allocations: 71.64 kB / 415.7 MB, free: 22.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.3073, allocations: 189.4 kB / 415.9 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.3073, allocations: 4 kB / 415.9 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.3073, allocations: 0 / 415.9 MB, free: 22.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3074, allocations: 4 kB / 415.9 MB, free: 22.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009326/0.3083, allocations: 0.4942 MB / 416.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.3084, allocations: 8.031 kB / 416.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.3084, allocations: 20.75 kB / 416.4 MB, free: 21.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3088, allocations: 228 kB / 416.7 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3088, allocations: 8.359 kB / 416.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.3089, allocations: 4.375 kB / 416.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.3093, allocations: 137.5 kB / 416.8 MB, free: 21.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3093, allocations: 4 kB / 416.8 MB, free: 21.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3093, allocations: 8 kB / 416.8 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.3093, allocations: 0 / 416.8 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3096, allocations: 71.89 kB / 416.9 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.3102, allocations: 388.5 kB / 417.3 MB, free: 21.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3104, allocations: 122.5 kB / 417.4 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3107, allocations: 104.9 kB / 417.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3107, allocations: 3.938 kB / 417.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.3113, allocations: 323.7 kB / 417.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.3113, allocations: 0 / 417.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008714/0.3122, allocations: 380.7 kB / 418.2 MB, free: 20.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3123, allocations: 225.6 kB / 418.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3125, allocations: 207.3 kB / 418.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3125, allocations: 33.7 kB / 418.6 MB, free: 19.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3126, allocations: 96.14 kB / 418.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.3126, allocations: 43.5 kB / 418.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.3127, allocations: 37.7 kB / 418.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3128, allocations: 334.8 kB / 419.1 MB, free: 19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.3129, allocations: 47.98 kB / 419.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.313, allocations: 77.69 kB / 419.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.3136, allocations: 459.6 kB / 419.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3136, allocations: 4 kB / 419.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003166/0.3139, allocations: 278.2 kB / 420 MB, free: 18.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.314, allocations: 67.39 kB / 420.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.314, allocations: 0 / 420.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.314, allocations: 8 kB / 420.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.3141, allocations: 11.98 kB / 420.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3141, allocations: 32 / 420.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3144, allocations: 52.03 kB / 420.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3144, allocations: 4 kB / 420.1 MB, free: 17.93 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real 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: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.3148, allocations: 237.1 kB / 420.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3148, allocations: 19.91 kB / 420.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.3148, allocations: 9.875 kB / 420.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3148, allocations: 3.984 kB / 420.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3149, allocations: 0 / 420.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3149, allocations: 0 / 420.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3151, allocations: 261.3 kB / 420.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3151, allocations: 3.938 kB / 420.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.3151, allocations: 12.03 kB / 420.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3151, allocations: 7.984 kB / 420.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.3152, allocations: 8 kB / 420.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3152, allocations: 0 / 420.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3152, allocations: 0 / 420.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.3157, allocations: 392.1 kB / 421.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.3158, allocations: 120.8 kB / 421.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.3159, allocations: 16 kB / 421.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3161, allocations: 47.94 kB / 421.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.3162, allocations: 27.97 kB / 421.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3163, allocations: 8 kB / 421.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.3164, allocations: 143.2 kB / 421.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3164, allocations: 0 / 421.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.3167, allocations: 68.11 kB / 421.5 MB, free: 16.45 MB / 302.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,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.3169, allocations: 143.5 kB / 421.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.3174, allocations: 382.7 kB / 422 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3174, allocations: 4 kB / 422 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.3177, allocations: 418.7 kB / 422.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.318, allocations: 23.98 kB / 422.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.3186, allocations: 344.1 kB / 422.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3189, allocations: 0.7199 MB / 423.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.3189, allocations: 12.42 kB / 423.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.319, allocations: 15.44 kB / 423.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.319, allocations: 0 / 423.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of Templates: time 0.005918/0.3249, allocations: 2.938 MB / 426.5 MB, free: 11.39 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)