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.0009838/0.0009838, allocations: 95.89 kB / 15.73 MB, free: 440 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.0009907/0.0009909, allocations: 178.2 kB / 16.61 MB, free: 6.406 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.313/1.313, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1907/0.1907, allocations: 8.083 MB / 299.7 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 52.52 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001833/0.1147, allocations: 1.307 MB / 416.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1162, allocations: 0.5695 MB / 417.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1164, allocations: 0 / 417.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1166, allocations: 19.91 kB / 417.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1169, allocations: 43.86 kB / 417.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.1174, allocations: 75.83 kB / 417.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1176, allocations: 95.81 kB / 417.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1178, allocations: 13.11 kB / 417.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1179, allocations: 67.75 kB / 417.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1181, allocations: 71.78 kB / 417.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1182, allocations: 8 kB / 417.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.1184, allocations: 71.94 kB / 417.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1184, allocations: 23.89 kB / 417.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.1185, allocations: 53.62 kB / 417.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1187, allocations: 128 kB / 417.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1188, allocations: 0 / 417.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1188, allocations: 3.938 kB / 417.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.1188, allocations: 0 / 417.8 MB, free: 6.184 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.0007819/0.1196, allocations: 486.1 kB / 418.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.1196, allocations: 12.03 kB / 418.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.1197, allocations: 19.77 kB / 418.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.1201, allocations: 210.9 kB / 418.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1201, allocations: 4 kB / 418.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1201, allocations: 12 kB / 418.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1205, allocations: 129.6 kB / 418.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1205, allocations: 0 / 418.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1205, allocations: 0 / 418.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1205, allocations: 7.938 kB / 418.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.1207, allocations: 79.84 kB / 418.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.1214, allocations: 400.7 kB / 419.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1216, allocations: 126.5 kB / 419.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.1216, allocations: 0 / 419.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.1221, allocations: 329.5 kB / 419.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.1221, allocations: 0 / 419.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008664/0.123, allocations: 0.5289 MB / 420.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.1231, allocations: 225.6 kB / 420.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1233, allocations: 210.2 kB / 420.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1234, allocations: 33.7 kB / 420.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.1234, allocations: 104.1 kB / 420.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1235, allocations: 43.53 kB / 420.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.1235, allocations: 0 / 420.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1236, allocations: 338.8 kB / 421 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1237, allocations: 51.92 kB / 421.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.1238, allocations: 73.69 kB / 421.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.124, allocations: 109.6 kB / 421.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.124, allocations: 0 / 421.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003267/0.1243, allocations: 272.7 kB / 421.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.1244, allocations: 67.39 kB / 421.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1244, allocations: 0 / 421.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1244, allocations: 4 kB / 421.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.1245, allocations: 15.92 kB / 421.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1245, allocations: 3.953 kB / 421.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.1248, allocations: 59.89 kB / 421.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1248, allocations: 8 kB / 421.7 MB, free: 1.906 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.0002436/0.1251, allocations: 217.1 kB / 421.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1251, allocations: 19.81 kB / 421.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.1252, allocations: 13.88 kB / 421.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1252, allocations: 0 / 421.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1252, allocations: 0 / 421.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1252, allocations: 7.984 kB / 422 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1254, allocations: 261.4 kB / 422.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1254, allocations: 0 / 422.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.1255, allocations: 7.938 kB / 422.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1255, allocations: 4 kB / 422.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.1255, allocations: 15.98 kB / 422.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1255, allocations: 3.938 kB / 422.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1255, allocations: 0 / 422.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.1261, allocations: 396 kB / 422.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1263, allocations: 124.8 kB / 422.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.1263, allocations: 12 kB / 422.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.1266, allocations: 63.94 kB / 422.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.1267, allocations: 23.97 kB / 422.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.1267, allocations: 8 kB / 422.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1269, allocations: 147.2 kB / 423 MB, free: 492 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1269, allocations: 0 / 423 MB, free: 492 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1272, allocations: 64.12 kB / 423.1 MB, free: 428 kB / 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.0001986/0.1274, allocations: 139.8 kB / 423.2 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.1279, allocations: 382.7 kB / 423.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1279, allocations: 0 / 423.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1283, allocations: 418.7 kB / 424 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1285, allocations: 15.95 kB / 424 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.1291, allocations: 338 kB / 424.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1294, allocations: 0.7277 MB / 425.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.1295, allocations: 12.42 kB / 425.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.1295, allocations: 11.44 kB / 425.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1295, allocations: 0 / 425.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.005475/0.135, allocations: 2.655 MB / 427.7 MB, free: 11.65 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: