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.0007969/0.000797, allocations: 96.94 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.0009651/0.0009652, allocations: 181.7 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1493/0.1493, allocations: 8.087 MB / 300.2 MB, free: 2.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 8 kB / 363.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 52.51 MB / 416.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002339/0.1042, allocations: 1.348 MB / 417.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1057, allocations: 0.6393 MB / 418.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1058, allocations: 3.938 kB / 418.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1061, allocations: 123.8 kB / 418.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1064, allocations: 131.7 kB / 418.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1068, allocations: 99.81 kB / 418.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1071, allocations: 203.5 kB / 418.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1072, allocations: 5.125 kB / 418.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1075, allocations: 99.7 kB / 418.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1078, allocations: 183.6 kB / 418.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.1079, allocations: 12 kB / 418.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.108, allocations: 83.86 kB / 419 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1082, allocations: 111.6 kB / 419.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1084, allocations: 144.8 kB / 419.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1088, allocations: 315.1 kB / 419.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1089, allocations: 7.938 kB / 419.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1089, allocations: 0 / 419.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1089, allocations: 0 / 419.6 MB, free: 4.824 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.0009601/0.1098, allocations: 0.6454 MB / 420.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1099, allocations: 8.031 kB / 420.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.11, allocations: 42.73 kB / 420.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1101, allocations: 44.47 kB / 420.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.1107, allocations: 382 kB / 420.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1107, allocations: 4.375 kB / 420.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1107, allocations: 8.125 kB / 420.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.1112, allocations: 175.8 kB / 420.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1112, allocations: 0 / 420.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1112, allocations: 8 kB / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1113, allocations: 0 / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1116, allocations: 111.9 kB / 421 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.1125, allocations: 0.5121 MB / 421.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1129, allocations: 162.5 kB / 421.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1132, allocations: 148.9 kB / 421.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1132, allocations: 3.984 kB / 421.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.1138, allocations: 359.8 kB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 4.087e-06/0.1138, allocations: 7.938 kB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001309/0.1152, allocations: 0.5805 MB / 422.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1153, allocations: 221.6 kB / 423 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.1161, allocations: 0.5564 MB / 423.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1162, allocations: 33.7 kB / 423.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1164, allocations: 196.2 kB / 423.7 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.1164, allocations: 39.45 kB / 423.8 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.1165, allocations: 25.7 kB / 423.8 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1512/0.2677, allocations: 362.9 kB / 424.2 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.2679, allocations: 95.25 kB / 424.3 MB, free: 40.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.268, allocations: 112.3 kB / 424.4 MB, free: 40.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.2687, allocations: 0.6102 MB / 425 MB, free: 40.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2687, allocations: 0 / 425 MB, free: 40.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005022/0.2692, allocations: 427.7 kB / 425.4 MB, free: 40.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.2693, allocations: 74.14 kB / 425.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2693, allocations: 0 / 425.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2693, allocations: 0 / 425.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.2694, allocations: 14.33 kB / 425.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2694, allocations: 9.781 kB / 425.5 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2697, allocations: 58.95 kB / 425.6 MB, free: 40.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2697, allocations: 10.06 kB / 425.6 MB, free: 40.55 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.00028/0.27, allocations: 283.2 kB / 425.8 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.2701, allocations: 44.55 kB / 425.9 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.2701, allocations: 49.48 kB / 425.9 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2702, allocations: 0 / 425.9 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2702, allocations: 7.156 kB / 425.9 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2702, allocations: 0 / 425.9 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.2704, allocations: 338.8 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2704, allocations: 5.938 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.2704, allocations: 0.625 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2704, allocations: 7.516 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2705, allocations: 12.42 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.2705, allocations: 0.7031 kB / 426.3 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2705, allocations: 3.938 kB / 426.3 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.2711, allocations: 0.5413 MB / 426.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.2713, allocations: 150.5 kB / 427 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.2714, allocations: 15 kB / 427 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2716, allocations: 59.09 kB / 427.1 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.2717, allocations: 23.86 kB / 427.1 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.2717, allocations: 14.03 kB / 427.1 MB, free: 39.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.2721, allocations: 416.8 kB / 427.5 MB, free: 39.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2721, allocations: 0 / 427.5 MB, free: 39.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2724, allocations: 71.66 kB / 427.6 MB, free: 39.83 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.0008439/0.2732, allocations: 1.122 MB / 428.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2737, allocations: 470.5 kB / 429.2 MB, free: 39.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2737, allocations: 0 / 429.2 MB, free: 39.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.2741, allocations: 459 kB / 429.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2743, allocations: 32.12 kB / 429.6 MB, free: 38.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.2785, allocations: 4.996 MB / 434.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.2787, allocations: 0.8109 MB / 435.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.518e-05/0.2788, allocations: 41.12 kB / 435.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.2789, allocations: 116.4 kB / 435.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2789, allocations: 0 / 435.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2956, allocations: 7.457 MB / 443.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.2958, allocations: 194.5 kB / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.992, allocations: 0 / 443.2 MB, free: 35.78 MB / 350.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)