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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108.5 kB / 16.45 MB, free: 6.488 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.001184/0.001184, allocations: 186 kB / 17.38 MB, free: 5.691 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04434/0.04434, allocations: 8.107 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 413.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09769, allocations: 51.52 MB / 465.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002914/0.1006, allocations: 1.632 MB / 467.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1018, allocations: 0.6196 MB / 467.7 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1019, allocations: 4 kB / 467.7 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1022, allocations: 119.7 kB / 467.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1024, allocations: 131.6 kB / 468 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.1029, allocations: 119.3 kB / 468.1 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1032, allocations: 247.6 kB / 468.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1033, allocations: 13.11 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1035, allocations: 119.5 kB / 468.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1038, allocations: 203.5 kB / 468.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.1038, allocations: 12 kB / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.104, allocations: 83.92 kB / 468.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1041, allocations: 99.67 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1043, allocations: 135 kB / 469 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1046, allocations: 329.8 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1046, allocations: 0 / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1047, allocations: 7.938 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.1047, allocations: 0 / 469.3 MB, free: 14.86 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.001017/0.1057, allocations: 0.7004 MB / 470 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1058, allocations: 11.89 kB / 470 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.1058, allocations: 38.75 kB / 470.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.1059, allocations: 44.47 kB / 470.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.1064, allocations: 381.9 kB / 470.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1065, allocations: 8.375 kB / 470.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1065, allocations: 8.125 kB / 470.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1069, allocations: 177.6 kB / 470.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1069, allocations: 0 / 470.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1069, allocations: 4 kB / 470.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1069, allocations: 3.938 kB / 470.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.1072, allocations: 107.9 kB / 470.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.108, allocations: 0.5004 MB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1082, allocations: 162.5 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.1085, allocations: 148.8 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1085, allocations: 4 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.109, allocations: 364.6 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.109, allocations: 4 kB / 471.9 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009491/0.1099, allocations: 0.5744 MB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1101, allocations: 217.6 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.1107, allocations: 0.5603 MB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1107, allocations: 33.69 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1108, allocations: 192.1 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.1109, allocations: 39.5 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.111, allocations: 37.7 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1111, allocations: 370.7 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1113, allocations: 91.97 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1114, allocations: 113.7 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.1121, allocations: 0.6166 MB / 474.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1121, allocations: 4 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004495/0.1125, allocations: 412.5 kB / 475.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.1126, allocations: 75.38 kB / 475.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1126, allocations: 4 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1126, allocations: 4.031 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.1127, allocations: 8 kB / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1127, allocations: 0 / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.113, allocations: 51.8 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.113, allocations: 11.98 kB / 475.3 MB, free: 8.426 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.0003059/0.1133, allocations: 292.8 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.1134, allocations: 47.47 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.1135, allocations: 47.91 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1135, allocations: 4 kB / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1135, allocations: 0 / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1135, allocations: 0 / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1138, allocations: 345.3 kB / 476 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1138, allocations: 7.938 kB / 476.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.1138, allocations: 0 / 476.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1138, allocations: 4 kB / 476.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1139, allocations: 11.98 kB / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1139, allocations: 0 / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1139, allocations: 4 kB / 476.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.1146, allocations: 0.5348 MB / 476.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.1148, allocations: 152.5 kB / 476.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.1149, allocations: 20 kB / 476.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1152, allocations: 39.95 kB / 476.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1153, allocations: 27.97 kB / 476.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.1153, allocations: 11.98 kB / 476.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.1158, allocations: 411.1 kB / 477.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 0 / 477.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.1161, allocations: 75.94 kB / 477.3 MB, free: 6.301 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.001119/0.1172, allocations: 1.126 MB / 478.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.1178, allocations: 474.5 kB / 478.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1178, allocations: 0 / 478.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.1183, allocations: 458.7 kB / 479.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1185, allocations: 37.97 kB / 479.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.1237, allocations: 4.887 MB / 484.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1241, allocations: 0.8072 MB / 485.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.1242, allocations: 45.86 kB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1244, allocations: 115.4 kB / 485.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1244, allocations: 0 / 485.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1528, allocations: 8.475 MB / 493.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/7.819, allocations: 7.875 kB / 493.7 MB, free: 5.758 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)