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: "" <> 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.0007502/0.0007501, allocations: 96.7 kB / 15.74 MB, free: 424 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.0008358/0.0008359, allocations: 174.3 kB / 16.62 MB, free: 6.434 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.292/1.292, allocations: 223.3 MB / 240.6 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1563/0.1563, allocations: 8.083 MB / 299.8 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 8 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08288, allocations: 52.52 MB / 415.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001641/0.08457, allocations: 1.317 MB / 416.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.08555, allocations: 0.5773 MB / 417.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.08564, allocations: 0 / 417.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.08582, allocations: 123.7 kB / 417.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.08603, allocations: 135.6 kB / 417.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.08634, allocations: 75.52 kB / 417.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.08654, allocations: 179.5 kB / 417.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.08662, allocations: 25.09 kB / 417.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.08677, allocations: 99.75 kB / 418 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.08699, allocations: 163.6 kB / 418.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.08703, allocations: 4 kB / 418.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.08716, allocations: 75.88 kB / 418.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.08727, allocations: 103.7 kB / 418.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.08735, allocations: 73.52 kB / 418.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.08759, allocations: 223.9 kB / 418.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0876, allocations: 0 / 418.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08761, allocations: 0 / 418.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.08762, allocations: 4 kB / 418.6 MB, free: 5.449 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.0008003/0.08843, allocations: 0.6452 MB / 419.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.08848, allocations: 8.031 kB / 419.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.08854, allocations: 46.55 kB / 419.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.08863, allocations: 51.42 kB / 419.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.08907, allocations: 361.1 kB / 419.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.0891, allocations: 4 kB / 419.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.08912, allocations: 4 kB / 419.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.08945, allocations: 169.6 kB / 419.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.08947, allocations: 3.984 kB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.08949, allocations: 4 kB / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.0895, allocations: 0 / 419.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.08972, allocations: 115.9 kB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.0904, allocations: 0.5123 MB / 420.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.09065, allocations: 162.5 kB / 420.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.09087, allocations: 148.9 kB / 420.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.0909, allocations: 0 / 420.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.09134, allocations: 375.5 kB / 421.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.09135, allocations: 0 / 421.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008315/0.09219, allocations: 0.5573 MB / 421.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.0923, allocations: 229.6 kB / 422 MB, free: 1.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.09285, allocations: 0.5642 MB / 422.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.09288, allocations: 33.7 kB / 422.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.09301, allocations: 192.2 kB / 422.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.09306, allocations: 47.44 kB / 422.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.09307, allocations: 0 / 422.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.0932, allocations: 362.7 kB / 423.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.09331, allocations: 99.89 kB / 423.3 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.09344, allocations: 117.7 kB / 423.4 MB, free: 364 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.09359, allocations: 153.5 kB / 423.5 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0936, allocations: 0 / 423.5 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.1574/0.2511, allocations: 423.3 kB / 423.9 MB, free: 41.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.2511, allocations: 73.75 kB / 424 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2512, allocations: 0 / 424 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2512, allocations: 0 / 424 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.2513, allocations: 10.52 kB / 424 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2513, allocations: 5.938 kB / 424 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2516, allocations: 59.69 kB / 424.1 MB, free: 41.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2516, allocations: 7.031 kB / 424.1 MB, free: 41.57 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.0002937/0.2519, allocations: 290.9 kB / 424.4 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.252, allocations: 43.52 kB / 424.4 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.067e-05/0.252, allocations: 46.67 kB / 424.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2521, allocations: 0 / 424.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2521, allocations: 4.938 kB / 424.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2521, allocations: 0.625 kB / 424.5 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.2523, allocations: 345.4 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2523, allocations: 0 / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.2524, allocations: 4.562 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2524, allocations: 0.6875 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.2524, allocations: 13.58 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2524, allocations: 1.531 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2524, allocations: 3.781 kB / 424.8 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.2531, allocations: 0.5383 MB / 425.4 MB, free: 41.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2532, allocations: 147.4 kB / 425.5 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.2533, allocations: 17.97 kB / 425.5 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.2535, allocations: 55.19 kB / 425.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.2536, allocations: 25.98 kB / 425.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.2537, allocations: 10.06 kB / 425.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004126/0.2541, allocations: 423.8 kB / 426 MB, free: 40.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 2.625 kB / 426 MB, free: 40.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.2544, allocations: 70.94 kB / 426.1 MB, free: 40.84 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 (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.0008868/0.2553, allocations: 1.11 MB / 427.2 MB, free: 40.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.2558, allocations: 477.4 kB / 427.7 MB, free: 40.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2558, allocations: 0 / 427.7 MB, free: 40.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.2562, allocations: 453.9 kB / 428.1 MB, free: 39.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2565, allocations: 40.83 kB / 428.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.2597, allocations: 2.861 MB / 431 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2599, allocations: 0.8098 MB / 431.8 MB, free: 38.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.26, allocations: 38.61 kB / 431.9 MB, free: 38.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2601, allocations: 115 kB / 432 MB, free: 38.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2602, allocations: 0 / 432 MB, free: 38.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.2756, allocations: 7.376 MB / 439.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.2758, allocations: 166.5 kB / 439.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.917, allocations: 0 / 439.5 MB, free: 37.74 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/linux/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) Environment - environmentSimulation: