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.0009261/0.0009261, allocations: 84.19 kB / 15.75 MB, free: 416 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.001341/0.001341, allocations: 173.9 kB / 16.63 MB, free: 6.887 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.472/1.472, allocations: 223.3 MB / 240.7 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2142/0.2142, allocations: 8.095 MB / 299.9 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 12 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 52.53 MB / 415.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001952/0.1246, allocations: 1.325 MB / 416.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1258, allocations: 0.5695 MB / 417.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1259, allocations: 0 / 417.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1261, allocations: 119.8 kB / 417.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1264, allocations: 135.7 kB / 417.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.1269, allocations: 79.84 kB / 417.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.1272, allocations: 179.5 kB / 417.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.1273, allocations: 9.109 kB / 417.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1275, allocations: 99.7 kB / 417.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.1278, allocations: 171.6 kB / 418 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.1278, allocations: 8 kB / 418.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.128, allocations: 67.94 kB / 418.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1282, allocations: 107.7 kB / 418.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1283, allocations: 69.45 kB / 418.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.1287, allocations: 227.9 kB / 418.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1288, allocations: 0 / 418.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1288, allocations: 0 / 418.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1288, allocations: 3.938 kB / 418.5 MB, free: 5.555 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.001142/0.1299, allocations: 0.6492 MB / 419.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.13, allocations: 8.031 kB / 419.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1301, allocations: 47.39 kB / 419.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.1307, allocations: 357.2 kB / 419.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1307, allocations: 4 kB / 419.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1308, allocations: 15.98 kB / 419.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.1312, allocations: 173.5 kB / 419.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1312, allocations: 4 kB / 419.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.1312, allocations: 4 kB / 419.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1313, allocations: 0 / 419.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.1316, allocations: 115.9 kB / 419.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.1325, allocations: 0.5045 MB / 420.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1328, allocations: 158.5 kB / 420.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.133, allocations: 152.8 kB / 420.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.133, allocations: 3.938 kB / 420.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/0.1337, allocations: 375.7 kB / 421.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.1338, allocations: 0 / 421.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001438/0.1352, allocations: 0.565 MB / 421.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.1354, allocations: 229.5 kB / 421.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1366, allocations: 0.5641 MB / 422.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.1366, allocations: 29.7 kB / 422.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1368, allocations: 200 kB / 422.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.1369, allocations: 47.58 kB / 422.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.1369, allocations: 4 kB / 422.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1371, allocations: 358.8 kB / 423 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1372, allocations: 95.95 kB / 423.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1374, allocations: 113.7 kB / 423.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1375, allocations: 153.6 kB / 423.4 MB, free: 352 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1375, allocations: 0 / 423.4 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.3003/0.4379, allocations: 418.1 kB / 423.8 MB, free: 42.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.438, allocations: 67.94 kB / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.438, allocations: 0 / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4381, allocations: 3.344 kB / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.4382, allocations: 10.72 kB / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4382, allocations: 3.078 kB / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.4385, allocations: 62.41 kB / 423.9 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.4386, allocations: 10.53 kB / 424 MB, free: 42.14 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.4389, allocations: 285.2 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.439, allocations: 46.5 kB / 424.3 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.4391, allocations: 46.94 kB / 424.3 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4391, allocations: 3.312 kB / 424.3 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4391, allocations: 5.328 kB / 424.3 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4391, allocations: 0.5469 kB / 424.3 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.4394, allocations: 347.5 kB / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4394, allocations: 1.969 kB / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.4394, allocations: 8.484 kB / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4394, allocations: 0 / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.4394, allocations: 14.06 kB / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4394, allocations: 0 / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4395, allocations: 3.703 kB / 424.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.4402, allocations: 0.5365 MB / 425.2 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4403, allocations: 152.3 kB / 425.4 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.4404, allocations: 13.31 kB / 425.4 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4406, allocations: 53.27 kB / 425.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.4407, allocations: 26.75 kB / 425.5 MB, free: 41.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.4408, allocations: 20.94 kB / 425.5 MB, free: 41.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4412, allocations: 414.4 kB / 425.9 MB, free: 41.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4412, allocations: 0 / 425.9 MB, free: 41.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.4415, allocations: 70.94 kB / 426 MB, free: 41.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.4417, allocations: 137.7 kB / 426.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.4422, allocations: 475 kB / 426.6 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4423, allocations: 0 / 426.6 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.4426, allocations: 458 kB / 427 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4429, allocations: 31.91 kB / 427.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.4439, allocations: 0.7651 MB / 427.8 MB, free: 40.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4441, allocations: 0.8091 MB / 428.6 MB, free: 40.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.4442, allocations: 44.5 kB / 428.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.4442, allocations: 16.84 kB / 428.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4442, allocations: 0 / 428.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of Templates: time 0.00696/0.4512, allocations: 3.583 MB / 432.3 MB, free: 39.83 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: