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/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.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.00171/0.00171, allocations: 109.3 kB / 16.45 MB, free: 6.395 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.002399/0.002399, allocations: 189 kB / 17.39 MB, free: 5.648 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.406/1.406, 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.05043/0.05043, allocations: 8.109 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 414.4 MB, free: 21.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09416, allocations: 51.52 MB / 466 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002828/0.09702, allocations: 1.632 MB / 467.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.09831, allocations: 0.6118 MB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.09842, allocations: 3.938 kB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.09865, allocations: 123.8 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.09891, allocations: 139.5 kB / 468.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.0994, allocations: 111.6 kB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.09974, allocations: 247.5 kB / 468.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.09986, allocations: 9.109 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1001, allocations: 127.6 kB / 469 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1004, allocations: 195.5 kB / 469.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1004, allocations: 12 kB / 469.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1006, allocations: 87.88 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1007, allocations: 99.72 kB / 469.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1009, allocations: 139 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1013, allocations: 326.9 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1013, allocations: 0 / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1013, allocations: 0 / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1013, allocations: 0 / 469.8 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.0009556/0.1022, allocations: 0.6996 MB / 470.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1023, allocations: 16.02 kB / 470.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.1024, allocations: 40.47 kB / 470.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1029, allocations: 381.9 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1029, allocations: 4.375 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1029, allocations: 12.36 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.1033, allocations: 173.5 kB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1033, allocations: 0 / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1033, allocations: 7.984 kB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1034, allocations: 4 kB / 471.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1036, allocations: 111.9 kB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.1043, allocations: 0.5043 MB / 471.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1046, allocations: 158.5 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.1049, allocations: 148.9 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1049, allocations: 0 / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.1054, allocations: 370.2 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1054, allocations: 3.938 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009328/0.1063, allocations: 0.5667 MB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1064, allocations: 221.6 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.107, allocations: 0.5604 MB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.107, allocations: 29.7 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1072, allocations: 200.1 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1073, allocations: 39.45 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1073, allocations: 37.7 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1075, allocations: 358.7 kB / 474.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1076, allocations: 99.95 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1077, allocations: 113.7 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.1085, allocations: 0.6204 MB / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1085, allocations: 0 / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004487/0.109, allocations: 424.6 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.109, allocations: 67.39 kB / 475.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.109, allocations: 4 kB / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1091, allocations: 0 / 475.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.1091, allocations: 11.98 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1091, allocations: 3.938 kB / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.1094, allocations: 51.94 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1094, allocations: 8 kB / 475.8 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.0003745/0.1098, allocations: 288.9 kB / 476.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.1099, allocations: 43.53 kB / 476.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.11, allocations: 47.91 kB / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.11, allocations: 4 kB / 476.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.11, allocations: 0 / 476.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.11, allocations: 3.938 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1104, allocations: 349.3 kB / 476.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1104, allocations: 0 / 476.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.1104, allocations: 4 kB / 476.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1104, allocations: 3.938 kB / 476.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.1105, allocations: 19.98 kB / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1105, allocations: 0 / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1105, allocations: 0 / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.1113, allocations: 0.5387 MB / 477.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1115, allocations: 152.5 kB / 477.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.1116, allocations: 12 kB / 477.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1118, allocations: 43.94 kB / 477.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1119, allocations: 27.95 kB / 477.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.112, allocations: 12 kB / 477.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005188/0.1125, allocations: 419 kB / 477.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1125, allocations: 0 / 477.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1128, allocations: 72 kB / 477.8 MB, free: 5.836 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.0002016/0.113, allocations: 139.7 kB / 477.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.1136, allocations: 478.5 kB / 478.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1137, allocations: 0 / 478.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.1141, allocations: 450.7 kB / 478.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1144, allocations: 37.97 kB / 478.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1155, allocations: 0.7145 MB / 479.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1159, allocations: 0.8033 MB / 480.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.116, allocations: 41.88 kB / 480.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.116, allocations: 27.42 kB / 480.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.116, allocations: 0 / 480.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Templates: time 0.008319/0.1243, allocations: 4.195 MB / 484.7 MB, free: 14.89 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)