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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001465, allocations: 177.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 239.7 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 98.78 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06669/0.06669, allocations: 8.109 MB / 350.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 7.781 kB / 413.2 MB, free: 89.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 52.53 MB / 465.7 MB, free: 41.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5314/0.6981, allocations: 78.29 MB / 0.5312 GB, free: 16.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6984, allocations: 59.09 kB / 0.5313 GB, free: 16.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.7115, allocations: 4.603 MB / 0.5358 GB, free: 32.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7115, allocations: 4 kB / 0.5358 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.7116, allocations: 11.56 kB / 0.5358 GB, free: 32.21 MB / 378.7 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.0009/0.7125, allocations: 0.6821 MB / 0.5365 GB, free: 31.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.7125, allocations: 7.75 kB / 0.5365 GB, free: 31.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.7126, allocations: 40.45 kB / 0.5365 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.7127, allocations: 42.78 kB / 0.5366 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.7133, allocations: 377.6 kB / 0.5369 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7133, allocations: 4.453 kB / 0.5369 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.7134, allocations: 11.47 kB / 0.5369 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.7138, allocations: 231.7 kB / 0.5372 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7138, allocations: 0.6562 kB / 0.5372 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.7139, allocations: 3.875 kB / 0.5372 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.7139, allocations: 3.953 kB / 0.5372 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.7142, allocations: 152.6 kB / 0.5373 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/0.7151, allocations: 0.5184 MB / 0.5378 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.7154, allocations: 195.7 kB / 0.538 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.7154, allocations: 3.875 kB / 0.538 GB, free: 30.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.7159, allocations: 410.7 kB / 0.5384 GB, free: 30.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.675e-06/0.716, allocations: 0 / 0.5384 GB, free: 30.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001433/0.7174, allocations: 0.8841 MB / 0.5393 GB, free: 30.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.7175, allocations: 215.3 kB / 0.5395 GB, free: 30.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.718, allocations: 0.5094 MB / 0.54 GB, free: 30.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.718, allocations: 37.36 kB / 0.54 GB, free: 30.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.7182, allocations: 191.4 kB / 0.5402 GB, free: 29.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.7182, allocations: 48.3 kB / 0.5402 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.7183, allocations: 7.812 kB / 0.5402 GB, free: 29.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7184, allocations: 361.3 kB / 0.5406 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.7186, allocations: 126.1 kB / 0.5407 GB, free: 29.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.7187, allocations: 146.6 kB / 0.5408 GB, free: 29.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.7189, allocations: 193.9 kB / 0.541 GB, free: 29.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.719, allocations: 0 / 0.541 GB, free: 29.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006773/0.7196, allocations: 0.5194 MB / 0.5415 GB, free: 29.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.7197, allocations: 72.09 kB / 0.5416 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7197, allocations: 0 / 0.5416 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.7197, allocations: 1.781 kB / 0.5416 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.7198, allocations: 15.64 kB / 0.5416 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7198, allocations: 4.062 kB / 0.5416 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.7201, allocations: 49.47 kB / 0.5417 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.7202, allocations: 21.25 kB / 0.5417 GB, free: 29.36 MB / 378.7 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.0003293/0.7205, allocations: 288.8 kB / 0.542 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.7206, allocations: 50.25 kB / 0.542 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.7206, allocations: 46.91 kB / 0.5421 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7206, allocations: 4 kB / 0.5421 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7207, allocations: 3.953 kB / 0.5421 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7207, allocations: 0 / 0.5421 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.721, allocations: 358.8 kB / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.721, allocations: 3.781 kB / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.721, allocations: 2.203 kB / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.721, allocations: 3.938 kB / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.7211, allocations: 21.39 kB / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7211, allocations: 0 / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7211, allocations: 0 / 0.5424 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7222, allocations: 0.6554 MB / 0.5431 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.7225, allocations: 172.6 kB / 0.5432 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.7226, allocations: 15.31 kB / 0.5433 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.7229, allocations: 57.42 kB / 0.5433 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.723, allocations: 20.97 kB / 0.5433 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.723, allocations: 21.56 kB / 0.5434 GB, free: 28.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005406/0.7236, allocations: 414.3 kB / 0.5437 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.7236, allocations: 0 / 0.5437 GB, free: 28.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004585/0.7241, allocations: 87.88 kB / 0.5438 GB, free: 28.55 MB / 378.7 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.001476/0.7256, allocations: 1.125 MB / 0.5449 GB, free: 27.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.7263, allocations: 467.6 kB / 0.5454 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7263, allocations: 0 / 0.5454 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.7269, allocations: 462.2 kB / 0.5458 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.7273, allocations: 26.77 kB / 0.5458 GB, free: 27.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.7314, allocations: 2.783 MB / 0.5486 GB, free: 26.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.7318, allocations: 0.8178 MB / 0.5494 GB, free: 26.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.7319, allocations: 39.52 kB / 0.5494 GB, free: 26.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.732, allocations: 107.5 kB / 0.5495 GB, free: 26.19 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7321, allocations: 3.938 kB / 0.5495 GB, free: 26.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.7574, allocations: 7.357 MB / 0.5567 GB, free: 25.56 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.7577, allocations: 164.2 kB / 0.5568 GB, free: 25.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.173, allocations: 0 / 0.5568 GB, free: 25.32 MB / 378.7 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)