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.001037/0.001038, allocations: 108.9 kB / 16.45 MB, free: 6.398 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.001078/0.001078, allocations: 188 kB / 17.38 MB, free: 5.668 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04582/0.04582, allocations: 8.107 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 414.4 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09472, allocations: 51.52 MB / 466 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002811/0.09758, allocations: 1.639 MB / 467.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.09863, allocations: 0.6196 MB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.0987, allocations: 0 / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.09889, allocations: 119.7 kB / 468.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.09913, allocations: 139.6 kB / 468.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.0995, allocations: 111.7 kB / 468.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.09978, allocations: 243.4 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.09988, allocations: 13.11 kB / 468.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1, allocations: 119.6 kB / 468.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1003, allocations: 195.6 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1003, allocations: 15.94 kB / 469.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1005, allocations: 87.92 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1006, allocations: 91.73 kB / 469.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1008, allocations: 143 kB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1011, allocations: 326.6 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1011, allocations: 0 / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1011, allocations: 0 / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1011, allocations: 4 kB / 469.8 MB, free: 14.35 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.0008364/0.102, allocations: 0.7189 MB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.102, allocations: 12.03 kB / 470.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1021, allocations: 44.66 kB / 470.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.1026, allocations: 374.5 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1026, allocations: 8.359 kB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1026, allocations: 4.375 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.103, allocations: 185.4 kB / 471.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.103, allocations: 3.984 kB / 471.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.103, allocations: 4 kB / 471.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.103, allocations: 0 / 471.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.1033, allocations: 111.9 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.104, allocations: 0.5082 MB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1043, allocations: 162.4 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1046, allocations: 148.9 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.1046, allocations: 0 / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.105, allocations: 366.3 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.105, allocations: 0 / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009085/0.1059, allocations: 0.567 MB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.106, allocations: 225.5 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.1066, allocations: 0.5565 MB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1067, allocations: 29.7 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1068, allocations: 196.1 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.1069, allocations: 55.7 kB / 474 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.1069, allocations: 37.7 kB / 474.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1071, allocations: 362.7 kB / 474.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1072, allocations: 95.95 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1073, allocations: 117.7 kB / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.108, allocations: 0.6166 MB / 475.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.108, allocations: 0 / 475.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004249/0.1084, allocations: 424.7 kB / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.1085, allocations: 67.42 kB / 475.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1085, allocations: 4 kB / 475.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1085, allocations: 0 / 475.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.1086, allocations: 11.98 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1086, allocations: 4 kB / 475.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1088, allocations: 43.95 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1089, allocations: 8 kB / 475.8 MB, free: 7.938 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.0002966/0.1092, allocations: 292.8 kB / 476.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.1092, allocations: 47.72 kB / 476.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1093, allocations: 47.91 kB / 476.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1093, allocations: 0 / 476.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1093, allocations: 3.938 kB / 476.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1093, allocations: 7.938 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1096, allocations: 361.2 kB / 476.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1096, allocations: 0 / 476.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.1096, allocations: 4 kB / 476.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1097, allocations: 0 / 476.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.1097, allocations: 11.98 kB / 476.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1097, allocations: 3.984 kB / 476.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1097, allocations: 0 / 476.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.1104, allocations: 0.5351 MB / 477.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1106, allocations: 152.8 kB / 477.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.1107, allocations: 12 kB / 477.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.1109, allocations: 47.94 kB / 477.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.111, allocations: 27.97 kB / 477.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.1111, allocations: 8 kB / 477.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004241/0.1115, allocations: 415 kB / 477.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1115, allocations: 4 kB / 477.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1118, allocations: 75.94 kB / 477.8 MB, free: 5.797 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.0001932/0.112, allocations: 151.5 kB / 478 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.1126, allocations: 478.5 kB / 478.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1126, allocations: 0 / 478.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.1131, allocations: 450.7 kB / 478.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1133, allocations: 33.91 kB / 478.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.1144, allocations: 0.7296 MB / 479.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1147, allocations: 0.8072 MB / 480.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.1148, allocations: 37.94 kB / 480.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.1148, allocations: 31.36 kB / 480.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1149, allocations: 4 kB / 480.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Templates: time 0.007371/0.1222, allocations: 4.179 MB / 484.7 MB, free: 14.83 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)