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.0008867/0.0008868, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 181.8 kB / 16.96 MB, free: 6.875 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.229/0.229, allocations: 8.082 MB / 300.2 MB, free: 2.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 11.98 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 52.52 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002189/0.1433, allocations: 1.348 MB / 417.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1448, allocations: 0.6355 MB / 418 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.145, allocations: 3.938 kB / 418 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1451, allocations: 19.91 kB / 418 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1454, allocations: 43.77 kB / 418 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1458, allocations: 87.83 kB / 418.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1461, allocations: 151.6 kB / 418.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1463, allocations: 13.11 kB / 418.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1465, allocations: 71.75 kB / 418.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1467, allocations: 75.72 kB / 418.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.1467, allocations: 12 kB / 418.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1469, allocations: 71.94 kB / 418.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.147, allocations: 31.84 kB / 418.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1471, allocations: 93.34 kB / 418.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1475, allocations: 179.7 kB / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1475, allocations: 0 / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1475, allocations: 0 / 418.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1475, allocations: 0 / 418.8 MB, free: 5.543 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.0008046/0.1483, allocations: 482.3 kB / 419.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1484, allocations: 12.03 kB / 419.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.1485, allocations: 20.73 kB / 419.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1488, allocations: 224 kB / 419.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1488, allocations: 4.375 kB / 419.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1489, allocations: 12.38 kB / 419.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1493, allocations: 141.4 kB / 419.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1493, allocations: 0 / 419.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.1493, allocations: 4 kB / 419.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1493, allocations: 0 / 419.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1495, allocations: 79.88 kB / 419.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1502, allocations: 404.5 kB / 420.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.1505, allocations: 118.5 kB / 420.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.1508, allocations: 104.9 kB / 420.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1508, allocations: 0 / 420.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/0.1513, allocations: 319.8 kB / 420.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.1513, allocations: 0 / 420.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008838/0.1522, allocations: 402.9 kB / 421.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.1523, allocations: 217.6 kB / 421.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1526, allocations: 210.2 kB / 421.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1526, allocations: 25.7 kB / 421.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.1527, allocations: 108.1 kB / 421.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1527, allocations: 39.59 kB / 421.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1528, allocations: 21.72 kB / 421.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.153, allocations: 334.8 kB / 422 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.1531, allocations: 51.98 kB / 422.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1532, allocations: 77.67 kB / 422.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.1538, allocations: 457.4 kB / 422.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1538, allocations: 0 / 422.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003782/0.1542, allocations: 272.1 kB / 422.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.1543, allocations: 71.39 kB / 422.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1543, allocations: 0 / 422.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1544, allocations: 0 / 422.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.1544, allocations: 11.98 kB / 423 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1545, allocations: 8.031 kB / 423 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1547, allocations: 51.86 kB / 423 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1548, allocations: 8 kB / 423 MB, free: 0.9492 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.0002707/0.155, allocations: 229.5 kB / 423.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.1551, allocations: 23.81 kB / 423.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.1551, allocations: 13.88 kB / 423.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1551, allocations: 0 / 423.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1552, allocations: 3.938 kB / 423.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1552, allocations: 8.016 kB / 423.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1554, allocations: 261.3 kB / 423.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1554, allocations: 4 kB / 423.6 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.1554, allocations: 4 kB / 423.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.1554, allocations: 3.984 kB / 423.6 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1555, allocations: 12 kB / 423.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1555, allocations: 0 / 423.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1555, allocations: 0 / 423.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.1562, allocations: 406.2 kB / 424 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1563, allocations: 120.9 kB / 424.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.1564, allocations: 16 kB / 424.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1567, allocations: 55.94 kB / 424.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.1568, allocations: 23.97 kB / 424.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.1568, allocations: 4 kB / 424.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.157, allocations: 151.2 kB / 424.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.157, allocations: 4 kB / 424.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.1573, allocations: 64.11 kB / 424.4 MB, free: 15.45 MB / 366.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.0002577/0.1576, allocations: 139.5 kB / 424.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.1582, allocations: 390.5 kB / 424.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1582, allocations: 0 / 424.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.1587, allocations: 410.7 kB / 425.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.159, allocations: 20 kB / 425.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.1598, allocations: 354.1 kB / 425.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1603, allocations: 0.7163 MB / 426.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.1603, allocations: 12.42 kB / 426.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1604, allocations: 11.44 kB / 426.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1604, allocations: 3.938 kB / 426.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.007626/0.168, allocations: 2.734 MB / 429.2 MB, free: 10.59 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: