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.0009203/0.0009206, allocations: 96.16 kB / 16.06 MB, free: 40 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.001094/0.001094, allocations: 181.2 kB / 16.96 MB, free: 6.895 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1763/0.1763, allocations: 8.083 MB / 300.2 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 52.51 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002173/0.1267, allocations: 1.348 MB / 417.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.128, allocations: 0.6432 MB / 418 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.1281, allocations: 4 kB / 418 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1283, allocations: 123.7 kB / 418.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1286, allocations: 139.6 kB / 418.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.1289, allocations: 83.89 kB / 418.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1292, allocations: 199.5 kB / 418.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1293, allocations: 13.12 kB / 418.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1295, allocations: 99.7 kB / 418.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.1297, allocations: 191.6 kB / 418.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1298, allocations: 8 kB / 418.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1299, allocations: 75.92 kB / 418.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.1301, allocations: 107.6 kB / 419 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1302, allocations: 156.7 kB / 419.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.1306, allocations: 315.1 kB / 419.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1306, allocations: 4 kB / 419.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1307, allocations: 0 / 419.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1307, allocations: 0 / 419.5 MB, free: 4.887 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.0009726/0.1317, allocations: 0.6415 MB / 420.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1317, allocations: 8.031 kB / 420.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.1318, allocations: 48.36 kB / 420.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.1323, allocations: 374.1 kB / 420.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1324, allocations: 4.375 kB / 420.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1324, allocations: 8.312 kB / 420.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1328, allocations: 188 kB / 420.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1328, allocations: 0 / 420.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1329, allocations: 4 kB / 420.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1329, allocations: 0 / 420.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1331, allocations: 111.9 kB / 420.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007655/0.1339, allocations: 0.5161 MB / 421.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1342, allocations: 162.5 kB / 421.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1344, allocations: 152.8 kB / 421.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1345, allocations: 0 / 421.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.1349, allocations: 359.8 kB / 422 MB, free: 2.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.1349, allocations: 0 / 422 MB, free: 2.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009297/0.1359, allocations: 0.5844 MB / 422.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.136, allocations: 217.6 kB / 422.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.1366, allocations: 0.5604 MB / 423.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1366, allocations: 29.7 kB / 423.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1367, allocations: 203.9 kB / 423.6 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.1368, allocations: 47.58 kB / 423.6 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1369, allocations: 29.7 kB / 423.7 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.137, allocations: 358.7 kB / 424 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2519/0.3889, allocations: 90.14 kB / 424.1 MB, free: 41.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3892, allocations: 117.7 kB / 424.2 MB, free: 41.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.3899, allocations: 0.6037 MB / 424.8 MB, free: 41.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3899, allocations: 0 / 424.8 MB, free: 41.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006314/0.3905, allocations: 436 kB / 425.3 MB, free: 41.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.3906, allocations: 69.47 kB / 425.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3906, allocations: 0 / 425.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3906, allocations: 3.25 kB / 425.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.3907, allocations: 8.641 kB / 425.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3907, allocations: 1.969 kB / 425.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.391, allocations: 60.02 kB / 425.4 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3911, allocations: 9.531 kB / 425.4 MB, free: 41.47 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.0003359/0.3914, allocations: 285.6 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.3915, allocations: 45.56 kB / 425.7 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.3915, allocations: 50.61 kB / 425.8 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3916, allocations: 0 / 425.8 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3916, allocations: 0.6875 kB / 425.8 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3916, allocations: 2.203 kB / 425.8 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3918, allocations: 344.9 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3918, allocations: 4.625 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.3919, allocations: 5.594 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3919, allocations: 0 / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3919, allocations: 8.531 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3919, allocations: 2.406 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3919, allocations: 6.188 kB / 426.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.3926, allocations: 0.5374 MB / 426.7 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3928, allocations: 150.7 kB / 426.8 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.3928, allocations: 18.38 kB / 426.9 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.3931, allocations: 56.62 kB / 426.9 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.3932, allocations: 21.3 kB / 426.9 MB, free: 40.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.3932, allocations: 17 kB / 426.9 MB, free: 40.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003943/0.3936, allocations: 412.9 kB / 427.3 MB, free: 40.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3936, allocations: 0 / 427.3 MB, free: 40.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3939, allocations: 80.02 kB / 427.4 MB, free: 40.75 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.0002215/0.3942, allocations: 139.2 kB / 427.6 MB, free: 40.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005247/0.3947, allocations: 473.1 kB / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3947, allocations: 0 / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.3951, allocations: 457.8 kB / 428.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3954, allocations: 33.91 kB / 428.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3964, allocations: 0.8067 MB / 429.3 MB, free: 40.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3967, allocations: 0.8115 MB / 430.1 MB, free: 39.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.3967, allocations: 40.33 kB / 430.2 MB, free: 39.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.3968, allocations: 17.12 kB / 430.2 MB, free: 39.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3968, allocations: 3.281 kB / 430.2 MB, free: 39.35 MB / 350.1 MB Notification: Performance of Templates: time 0.006598/0.4034, allocations: 3.664 MB / 433.8 MB, free: 39.12 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: