Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 105.1 kB / 17.13 MB, free: 5.934 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.001076/0.001076, allocations: 194.1 kB / 18.06 MB, free: 5.023 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.287/1.287, allocations: 222.9 MB / 241.8 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04644/0.04644, allocations: 8.096 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07877, allocations: 51.52 MB / 466.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002457/0.08126, allocations: 1.628 MB / 468.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.08233, allocations: 0.6235 MB / 468.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.08241, allocations: 0 / 468.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.08262, allocations: 115.8 kB / 469 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.08285, allocations: 139.5 kB / 469.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.08324, allocations: 119.7 kB / 469.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.08353, allocations: 235.5 kB / 469.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.08363, allocations: 13.12 kB / 469.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.08382, allocations: 123.6 kB / 469.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.08407, allocations: 195.5 kB / 469.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.08411, allocations: 12 kB / 469.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.08427, allocations: 87.88 kB / 469.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.08438, allocations: 99.7 kB / 470 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.08453, allocations: 143 kB / 470.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.08489, allocations: 322.9 kB / 470.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.08491, allocations: 4 kB / 470.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08492, allocations: 0 / 470.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.08493, allocations: 4 kB / 470.5 MB, free: 14.36 MB / 350.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.0009226/0.08586, allocations: 0.6918 MB / 471.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.0859, allocations: 15.88 kB / 471.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.08599, allocations: 44.47 kB / 471.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.08651, allocations: 385.9 kB / 471.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.08654, allocations: 4.375 kB / 471.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.08657, allocations: 8.375 kB / 471.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.08692, allocations: 181.5 kB / 471.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.08694, allocations: 0 / 471.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.08696, allocations: 4 kB / 471.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.08698, allocations: 3.984 kB / 471.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.08722, allocations: 115.9 kB / 471.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.08796, allocations: 0.4966 MB / 472.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.08823, allocations: 158.6 kB / 472.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.08847, allocations: 148.8 kB / 472.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.08849, allocations: 4 kB / 472.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.08893, allocations: 379.6 kB / 473.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.08895, allocations: 0 / 473.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.000935/0.08989, allocations: 0.5658 MB / 473.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.09, allocations: 221.6 kB / 473.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.09055, allocations: 0.5565 MB / 474.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.09059, allocations: 29.7 kB / 474.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.09072, allocations: 196.1 kB / 474.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.09077, allocations: 43.45 kB / 474.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.09084, allocations: 45.69 kB / 474.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.09098, allocations: 358.7 kB / 475.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.0911, allocations: 95.95 kB / 475.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.09124, allocations: 117.6 kB / 475.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.09185, allocations: 0.6119 MB / 475.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09187, allocations: 4 kB / 475.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004333/0.0923, allocations: 412.5 kB / 476.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.09237, allocations: 71.39 kB / 476.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.09238, allocations: 4.031 kB / 476.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.0924, allocations: 0 / 476.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.09246, allocations: 15.92 kB / 476.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.09248, allocations: 0 / 476.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.09276, allocations: 59.88 kB / 476.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.09279, allocations: 8 kB / 476.5 MB, free: 7.965 MB / 350.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.0002715/0.09306, allocations: 280.8 kB / 476.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.09313, allocations: 43.53 kB / 476.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.09319, allocations: 43.92 kB / 476.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0932, allocations: 7.984 kB / 476.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.09321, allocations: 0 / 476.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.0934, allocations: 152.4 kB / 477 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.09347, allocations: 20 kB / 477 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.09376, allocations: 47.88 kB / 477 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.09384, allocations: 19.98 kB / 477.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007628/0.09461, allocations: 0.6708 MB / 477.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007671/0.09539, allocations: 0.6833 MB / 478.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003462/0.09575, allocations: 319.9 kB / 478.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000404/0.09616, allocations: 419 kB / 479.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.09617, allocations: 0 / 479.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.09686, allocations: 440.9 kB / 479.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 0.001072/0.09795, allocations: 1.207 MB / 480.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007943/0.1059, allocations: 4.275 MB / 485.1 MB, free: 15.18 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)