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.001321/0.001321, allocations: 103.8 kB / 16.45 MB, free: 6.43 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.001465/0.001465, allocations: 190.9 kB / 17.39 MB, free: 5.688 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04785/0.04785, allocations: 8.099 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 59.91 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.0859, allocations: 51.5 MB / 466 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002395/0.08834, allocations: 1.639 MB / 467.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.08929, allocations: 0.6157 MB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.08936, allocations: 4 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.08947, allocations: 19.91 kB / 468.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.08962, allocations: 47.69 kB / 468.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.08996, allocations: 107.7 kB / 468.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.09022, allocations: 199.6 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.0903, allocations: 5.125 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.0904, allocations: 79.69 kB / 468.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.09055, allocations: 83.77 kB / 468.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.09058, allocations: 15.94 kB / 468.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.09072, allocations: 91.86 kB / 468.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.09079, allocations: 19.92 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.09087, allocations: 75.66 kB / 468.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.09113, allocations: 195.2 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09114, allocations: 0 / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09115, allocations: 0 / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.09115, allocations: 0 / 469.1 MB, free: 15 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.0006041/0.09176, allocations: 0.5058 MB / 469.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.0918, allocations: 8.031 kB / 469.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.09186, allocations: 16.84 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.09213, allocations: 232.1 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.09216, allocations: 4.375 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.09218, allocations: 8.375 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.09249, allocations: 133.5 kB / 470 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.0925, allocations: 0 / 470 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.09252, allocations: 4 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.09253, allocations: 0 / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.09273, allocations: 75.89 kB / 470.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.09327, allocations: 396.5 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.0935, allocations: 114.5 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.09372, allocations: 116.6 kB / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-06/0.09374, allocations: 0 / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.09415, allocations: 326.5 kB / 471 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.09416, allocations: 0 / 471 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008425/0.09501, allocations: 384.8 kB / 471.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.09514, allocations: 221.6 kB / 471.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.09534, allocations: 207.5 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.09538, allocations: 29.7 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.09545, allocations: 104.1 kB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.09551, allocations: 35.84 kB / 472 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.09558, allocations: 37.7 kB / 472 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.09571, allocations: 338.8 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.09581, allocations: 51.98 kB / 472.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.09593, allocations: 77.61 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.09648, allocations: 458.6 kB / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.09649, allocations: 0 / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003486/0.09685, allocations: 265 kB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.09693, allocations: 71.39 kB / 473.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.09694, allocations: 7.969 kB / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.09697, allocations: 3.984 kB / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.09706, allocations: 11.94 kB / 473.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.09708, allocations: 4 kB / 473.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.09734, allocations: 43.91 kB / 473.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.09737, allocations: 11.94 kB / 473.4 MB, free: 10.39 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.0002277/0.0976, allocations: 224.9 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.09765, allocations: 23.91 kB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.09769, allocations: 17.86 kB / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0977, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.0977, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09771, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.09792, allocations: 265.3 kB / 473.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.09793, allocations: 3.984 kB / 473.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.09795, allocations: 4 kB / 473.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.09796, allocations: 0 / 473.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.098, allocations: 16 kB / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.098, allocations: 0 / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.09801, allocations: 0 / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.09864, allocations: 402.3 kB / 474.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.09876, allocations: 121 kB / 474.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.09882, allocations: 15.98 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.09909, allocations: 47.94 kB / 474.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.09918, allocations: 19.97 kB / 474.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.09922, allocations: 12 kB / 474.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.09935, allocations: 151.4 kB / 474.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09936, allocations: 0 / 474.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.09964, allocations: 75.88 kB / 474.7 MB, free: 8.891 MB / 350.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.0001988/0.09985, allocations: 143.6 kB / 474.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.1004, allocations: 386.5 kB / 475.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1004, allocations: 0 / 475.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.1009, allocations: 410.7 kB / 475.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1011, allocations: 27.06 kB / 475.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.1017, allocations: 315.9 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1019, allocations: 0.7159 MB / 476.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.102, allocations: 16.41 kB / 476.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.102, allocations: 15.38 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.102, allocations: 0 / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Templates: time 0.005956/0.108, allocations: 3.181 MB / 479.9 MB, free: 3.617 MB / 350.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)