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-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.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",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.001041/0.00104, allocations: 108.9 kB / 16.45 MB, free: 6.43 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.001062/0.001062, allocations: 187 kB / 17.39 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.234/1.234, 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.04286/0.04286, allocations: 8.098 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 413.9 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08605, allocations: 51.52 MB / 465.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002427/0.08852, allocations: 1.632 MB / 467.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.08951, allocations: 0.6196 MB / 467.7 MB, free: 464 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.0896, allocations: 0 / 467.7 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.08972, allocations: 23.84 kB / 467.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.08991, allocations: 39.77 kB / 467.8 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.09031, allocations: 111.7 kB / 467.9 MB, free: 288 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.09056, allocations: 199.5 kB / 468.1 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.09065, allocations: 9.125 kB / 468.1 MB, free: 80 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.0908, allocations: 83.77 kB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.09097, allocations: 87.62 kB / 468.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.09101, allocations: 16 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.09115, allocations: 75.94 kB / 468.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.09123, allocations: 35.89 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.09133, allocations: 67.59 kB / 468.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.09159, allocations: 198.3 kB / 468.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.09161, allocations: 0 / 468.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09161, allocations: 0 / 468.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.09162, allocations: 0 / 468.6 MB, free: 15.53 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.0006758/0.0923, allocations: 0.4951 MB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.09235, allocations: 11.89 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.0924, allocations: 42.73 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.09246, allocations: 20.75 kB / 469.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.09276, allocations: 224 kB / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.09279, allocations: 4.375 kB / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.09282, allocations: 12.06 kB / 469.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.09313, allocations: 129.6 kB / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.09314, allocations: 0 / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.09317, allocations: 8 kB / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.09318, allocations: 0 / 469.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.09337, allocations: 71.95 kB / 469.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.09392, allocations: 396.5 kB / 470 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.09415, allocations: 122.5 kB / 470.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.09435, allocations: 112.9 kB / 470.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.09437, allocations: 0 / 470.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.09476, allocations: 318.5 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.09477, allocations: 0 / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007557/0.09553, allocations: 384.6 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.09564, allocations: 221.6 kB / 471.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.09584, allocations: 207.6 kB / 471.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.09587, allocations: 29.7 kB / 471.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.09593, allocations: 100.1 kB / 471.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.09598, allocations: 43.58 kB / 471.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.09605, allocations: 37.7 kB / 471.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.09617, allocations: 334.8 kB / 471.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.09626, allocations: 51.98 kB / 472 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.09637, allocations: 69.69 kB / 472 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.09686, allocations: 458.7 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.09687, allocations: 0 / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003343/0.09721, allocations: 280.6 kB / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.09727, allocations: 71.39 kB / 472.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.09728, allocations: 0 / 472.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.0973, allocations: 0 / 472.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.09737, allocations: 11.98 kB / 472.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.09738, allocations: 0 / 472.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.09762, allocations: 43.95 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.09765, allocations: 12 kB / 472.9 MB, free: 10.88 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.0002219/0.09788, allocations: 236.7 kB / 473.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.09793, allocations: 23.81 kB / 473.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.09796, allocations: 17.86 kB / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.09797, allocations: 0 / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09798, allocations: 4 kB / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.09799, allocations: 0 / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.09818, allocations: 253.4 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.09819, allocations: 0 / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.09822, allocations: 7.984 kB / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.09823, allocations: 0 / 473.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.09826, allocations: 16 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09827, allocations: 4 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09827, allocations: 0 / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.09887, allocations: 398.3 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.09899, allocations: 112.9 kB / 473.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.09905, allocations: 19.98 kB / 474 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.09928, allocations: 43.95 kB / 474 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.09937, allocations: 31.84 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.09941, allocations: 12 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.09953, allocations: 147.5 kB / 474.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09954, allocations: 0 / 474.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.09981, allocations: 72.05 kB / 474.3 MB, free: 9.387 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.000933/0.1008, allocations: 0.9635 MB / 475.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1012, allocations: 401.1 kB / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1013, allocations: 0 / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.1016, allocations: 410.7 kB / 476 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1019, allocations: 20 kB / 476 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1042, allocations: 2.271 MB / 478.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1045, allocations: 0.7199 MB / 479 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.1046, allocations: 12.42 kB / 479 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.1046, allocations: 47.36 kB / 479.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1046, allocations: 0 / 479.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.1255, allocations: 4.886 MB / 484 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.222, allocations: 14.61 kB / 484 MB, free: 15.54 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)