Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 77.88 kB / 21.46 MB, free: 3.039 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 164.5 kB / 24.86 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8507/0.8507, allocations: 158.6 MB / 186.8 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4636/0.4636, allocations: 90.57 MB / 329.7 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.SMIB.Standard.GovHydro4St4b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|generatorSynchronous.UPu|generatorSynchronous.PmPu.value|generatorSynchronous.PGenPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b") translateModel(Dynawo.Examples.SMIB.Standard.GovHydro4St4b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|generatorSynchronous.UPu|generatorSynchronous.PmPu.value|generatorSynchronous.PGenPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 434.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.627e-05, allocations: 5.828 kB / 434.3 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.008057/0.008083, allocations: 8.586 MB / 442.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.01561, allocations: 5.628 MB / 448.5 MB, free: 8.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009726/0.01658, allocations: 31.81 kB / 448.6 MB, free: 8.059 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.01739, allocations: 364.7 kB / 448.9 MB, free: 7.699 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:22:3-22:139:writable] Warning: In relation avr.rectifierRegulationCharacteristic.ULow == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:23:3-23:131:writable] Warning: In relation avr.rectifierRegulationCharacteristic.UHigh == 1.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001277/0.01866, allocations: 0.7024 MB / 449.6 MB, free: 6.992 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousInt_INIT.mo:47:5-47:85:writable] Warning: In relation generatorSynchronous.generatorSynchronousInt_INIT.MdPuEfd <> 0.0, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.02181, allocations: 2.263 MB / 451.9 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.02423, allocations: 2.775 MB / 454.7 MB, free: 1.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.02479, allocations: 400.3 kB / 455.1 MB, free: 1.512 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.02593, allocations: 1.114 MB / 456.2 MB, free: 404 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008301/0.02676, allocations: 0.9347 MB / 457.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.02705, allocations: 264 kB / 457.4 MB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.02823, allocations: 0.8545 MB / 458.2 MB, free: 14.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.02859, allocations: 0.6111 MB / 458.8 MB, free: 13.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.02913, allocations: 0.7516 MB / 459.6 MB, free: 12.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.03144, allocations: 2.421 MB / 462 MB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.03144, allocations: 0 / 462 MB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.03144, allocations: 0 / 462 MB, free: 10.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.03146, allocations: 0 / 462 MB, free: 10.55 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.004727/0.03619, allocations: 3.439 MB / 465.4 MB, free: 7.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.03623, allocations: 16.03 kB / 465.5 MB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.0374, allocations: 0.5963 MB / 466 MB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.03891, allocations: 1.258 MB / 467.3 MB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/0.03947, allocations: 0.8264 MB / 468.1 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.03965, allocations: 159.9 kB / 468.3 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.0412, allocations: 1.666 MB / 470 MB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.04122, allocations: 3.938 kB / 470 MB, free: 2.074 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.04132, allocations: 63.98 kB / 470 MB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.04134, allocations: 36 kB / 470.1 MB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.0422, allocations: 0.6114 MB / 470.7 MB, free: 1.355 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.2569, allocations: 6.697 MB / 477.4 MB, free: 63.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.2583, allocations: 1.019 MB / 478.4 MB, free: 63.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.2586, allocations: 380.3 kB / 478.8 MB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2588, allocations: 54.48 kB / 478.8 MB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006963/0.2595, allocations: 0.7268 MB / 479.5 MB, free: 63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 4.658e-06/0.2595, allocations: 0.6875 kB / 479.5 MB, free: 63 MB / 442.7 MB Notification: Performance of matching and sorting (n=181): time 0.004743/0.2642, allocations: 2.366 MB / 481.9 MB, free: 62.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.2643, allocations: 443.2 kB / 482.3 MB, free: 62.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.2653, allocations: 1.463 MB / 483.8 MB, free: 62.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.2654, allocations: 77.08 kB / 483.9 MB, free: 62.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.2658, allocations: 0.8963 MB / 484.8 MB, free: 61.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.2661, allocations: 0.6591 MB / 485.4 MB, free: 61.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005113/0.2666, allocations: 0.4987 MB / 485.9 MB, free: 61.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2667, allocations: 480.7 kB / 486.4 MB, free: 60.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008076/0.2675, allocations: 0.6357 MB / 487 MB, free: 60.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/0.2685, allocations: 1.431 MB / 488.5 MB, free: 59.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.2708, allocations: 2.379 MB / 490.8 MB, free: 59.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.2708, allocations: 2.969 kB / 490.8 MB, free: 59.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.003858/0.2747, allocations: 2.863 MB / 493.7 MB, free: 58.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.2748, allocations: 127.4 kB / 493.8 MB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.2748, allocations: 17.81 kB / 493.8 MB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.2765, allocations: 0.6365 MB / 494.5 MB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.2778, allocations: 0.5126 MB / 495 MB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.2839, allocations: 8.77 MB / 0.492 GB, free: 51.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2849, allocations: 298.4 kB / 0.4922 GB, free: 51.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.285, allocations: 80.42 kB / 0.4923 GB, free: 51.33 MB / 442.7 MB Warning: Assuming fixed start value for the following 14 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean generatorSynchronous.omegaPu:VARIABLE(flow=false start = 1.0 unit = \"1\" fixed = true ) \"Angular frequency in pu\" type: Real generatorSynchronous.lambdaDPu:VARIABLE(start = generatorSynchronous.LambdaD0Pu unit = \"1\" fixed = true ) \"Flux of direct axis damper in pu\" type: Real generatorSynchronous.lambdafPu:VARIABLE(start = generatorSynchronous.Lambdaf0Pu unit = \"1\" fixed = true ) \"Flux of excitation winding in pu\" type: Real generatorSynchronous.lambdaQ1Pu:VARIABLE(start = generatorSynchronous.LambdaQ10Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 1st damper in pu\" type: Real generatorSynchronous.lambdaQ2Pu:VARIABLE(start = generatorSynchronous.LambdaQ20Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 2nd damper in pu\" type: Real generatorSynchronous.theta:VARIABLE(flow=false start = generatorSynchronous.Theta0 unit = \"rad\" fixed = true ) \"Rotor angle: angle between machine rotor frame and port phasor frame\" type: Real avr.firstOrder.y:VARIABLE(flow=false start = avr.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real avr.firstOrder1.y:VARIABLE(flow=false start = avr.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.dbPower.aux:DISCRETE(start = governor.dbPower.Aux0 fixed = true ) \"Auxiliary variable to stabilize y when the derivative of u changes\" type: Real governor.dbPower.h:DISCRETE(start = governor.dbPower.H0 fixed = true ) \"Boolean to detect changes of behaviour of u\" type: Boolean load.running:DISCRETE(flow=false start = load.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.load.state,load.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,avr.limPI1.integrator.local_reset,avr.limPI2.integrator.local_reset,governor.intLimG.local_reset,governor.intTw.local_reset,generatorSynchronous.switchOffSignal1,generatorSynchronous.switchOffSignal2,generatorSynchronous.switchOffSignal3,load.switchOffSignal1,load.switchOffSignal2,$PRE.generatorSynchronous.running,$PRE.avr.limPI1.hysteresisMin.y,$PRE.avr.limPI2.hysteresisMin.y,$PRE.governor.dbPower.aux,$PRE.governor.dbPower.h,$PRE.load.running,$PRE.avr.limPI2.hysteresisMax.y,$PRE.avr.limPI1.hysteresisMax.y,load.running,governor.dbPower.h,governor.dbPower.aux,avr.limPI2.switch1.u2,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y,avr.limPI1.switch1.u2,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,generatorSynchronous.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006018/0.2856, allocations: 371.8 kB / 0.4927 GB, free: 51.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.2859, allocations: 275.5 kB / 0.4929 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.2887, allocations: 1.565 MB / 0.4945 GB, free: 50.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.2887, allocations: 17.94 kB / 0.4945 GB, free: 50.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2888, allocations: 1.844 kB / 0.4945 GB, free: 50.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2888, allocations: 8.719 kB / 0.4945 GB, free: 50.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.2935, allocations: 3.542 MB / 0.498 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.2935, allocations: 11.25 kB / 0.498 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.2948, allocations: 337.2 kB / 0.4983 GB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.2964, allocations: 0.6364 MB / 0.4989 GB, free: 48.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.2965, allocations: 39.5 kB / 0.4989 GB, free: 48.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/0.3021, allocations: 8.432 MB / 0.5072 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3021, allocations: 4.906 kB / 0.5072 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.306, allocations: 2.406 MB / 0.5095 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.3066, allocations: 410.7 kB / 0.5099 GB, free: 40.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.3068, allocations: 47.86 kB / 0.51 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.3074, allocations: 97.11 kB / 0.5101 GB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.3078, allocations: 203.6 kB / 0.5103 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.3079, allocations: 46.08 kB / 0.5103 GB, free: 40.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009145/0.3088, allocations: 0.8011 MB / 0.5111 GB, free: 39.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3088, allocations: 0 / 0.5111 GB, free: 39.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002097/0.3109, allocations: 0.744 MB / 0.5118 GB, free: 39.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 14 (generatorSynchronous.omegaPu,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y,governor.intLimG.y,governor.intTw.y,governor.lagTp.y,governor.tfRTemp.x) * Number of discrete variables: 21 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running,generatorSynchronous.state,generatorSynchronous.converter.u,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI1.switch1.u2,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.switch1.u2,governor.dbPower.aux,governor.dbPower.h,load.running,load.state) * Number of discrete states: 8 (load.running,generatorSynchronous.running,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,governor.dbPower.h,governor.dbPower.aux,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.3123, allocations: 0.6338 MB / 0.5124 GB, free: 39.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004557/0.3169, allocations: 2.784 MB / 0.5151 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.3169, allocations: 1.281 kB / 0.5152 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.3189, allocations: 1.555 MB / 0.5167 GB, free: 37.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3201, allocations: 332.2 kB / 0.517 GB, free: 37.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.3253, allocations: 3.447 MB / 0.5204 GB, free: 35.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.3257, allocations: 372.7 kB / 0.5207 GB, free: 35.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006471/0.3264, allocations: 221.1 kB / 0.5209 GB, free: 35.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.3271, allocations: 428.7 kB / 0.5213 GB, free: 35.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.495e-06/0.3271, allocations: 0 / 0.5213 GB, free: 35.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04669/0.3738, allocations: 43.3 MB / 0.5636 GB, free: 13.38 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.sim & ./Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b -initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable generatorSynchronous.PmPu.value in file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.mat. Warning: Get data of variable generatorSynchronous.PmPu.value from file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.mat failed! " [Timeout remaining time 660] "" Variables in the reference:time,generatorSynchronous.UPu,generatorSynchronous.PmPu.value,generatorSynchronous.PGenPu Variables in the result:$cse1,$cse2,PRef0.k,PRefPu.height,PRefPu.offset,PRefPu.startTime,QRefPu.k,UPssPu.k,UsRefPu.k,avr.Efd0Pu,avr.Ir0Pu,avr.Kc,avr.Kg,avr.Ki,avr.Kim,avr.Kir,avr.Kp,avr.Kpm,avr.Kpr,avr.Thetap,avr.UOel0Pu,avr.UUel0Pu,avr.Us0Pu,avr.VaMaxPu,avr.VaMinPu,avr.Vb0Pu,avr.VbMaxPu,avr.VmMaxPu,avr.VmMinPu,avr.VrMaxPu,avr.VrMinPu,avr.XlPu,avr.add.k1,avr.add.k2,avr.const.k,avr.division.YMax,avr.division.YMin,avr.firstOrder.T,avr.firstOrder.initType,avr.firstOrder.k,avr.firstOrder.y_start,avr.firstOrder1.T,avr.firstOrder1.initType,avr.firstOrder1.k,avr.firstOrder1.y_start,avr.gain.k,avr.gain1.k,avr.it0Pu.im,avr.it0Pu.re,avr.limPI1.Ki,avr.limPI1.Kp,avr.limPI1.Tol,avr.limPI1.Y0,avr.limPI1.YMax,avr.limPI1.YMin,avr.limPI1.add.k1,avr.limPI1.add.k2,avr.limPI1.const.k,avr.limPI1.hysteresisMax.pre_y_start,avr.limPI1.hysteresisMax.uHigh,avr.limPI1.hysteresisMax.uLow,avr.limPI1.hysteresisMin.pre_y_start,avr.limPI1.hysteresisMin.uHigh,avr.limPI1.hysteresisMin.uLow,avr.limPI1.integrator.initType,avr.limPI1.integrator.k,avr.limPI1.integrator.y_start,avr.limPI1.limiter1.homotopyType,avr.limPI1.limiter1.limitsAtInit,avr.limPI1.limiter1.strict,avr.limPI1.limiter1.uMax,avr.limPI1.limiter1.uMin,avr.limPI2.Ki,avr.limPI2.Kp,avr.limPI2.Tol,avr.limPI2.Y0,avr.limPI2.YMax,avr.limPI2.YMin,avr.limPI2.add.k1,avr.limPI2.add.k2,avr.limPI2.const.k,avr.limPI2.hysteresisMax.pre_y_start,avr.limPI2.hysteresisMax.uHigh,avr.limPI2.hysteresisMax.uLow,avr.limPI2.hysteresisMin.pre_y_start,avr.limPI2.hysteresisMin.uHigh,avr.limPI2.hysteresisMin.uLow,avr.limPI2.integrator.initType,avr.limPI2.integrator.k,avr.limPI2.integrator.y_start,avr.limPI2.limiter1.homotopyType,avr.limPI2.limiter1.limitsAtInit,avr.limPI2.limiter1.strict,avr.limPI2.limiter1.uMax,avr.limPI2.limiter1.uMin,avr.potentialCircuit.Ki,avr.potentialCircuit.Kp,avr.potentialCircuit.Theta,avr.potentialCircuit.X,avr.rectifierRegulationCharacteristic.A1,avr.rectifierRegulationCharacteristic.A2,avr.rectifierRegulationCharacteristic.UHigh,avr.rectifierRegulationCharacteristic.ULow,avr.sum1.k[1],avr.sum1.k[2],avr.sum1.k[3],avr.sum1.k[4],avr.sum1.k[5],avr.sum1.nin,avr.tA,avr.tR,avr.ut0Pu.im,avr.ut0Pu.re,const.k,const1.k,generatorSynchronous.Ce0Pu,generatorSynchronous.Cm0Pu,generatorSynchronous.Cos2Eta0,generatorSynchronous.DPu,generatorSynchronous.Efd0Pu,generatorSynchronous.ExcitationPu,generatorSynchronous.H,generatorSynchronous.IRotor0Pu,generatorSynchronous.IStator0Pu,generatorSynchronous.Id0Pu,generatorSynchronous.If0Pu,generatorSynchronous.Iq0Pu,generatorSynchronous.Kuf,generatorSynchronous.LDPPu,generatorSynchronous.LQ1PPu,generatorSynchronous.LQ2PPu,generatorSynchronous.LambdaAD0Pu,generatorSynchronous.LambdaAQ0Pu,generatorSynchronous.LambdaAirGap0Pu,generatorSynchronous.LambdaD0Pu,generatorSynchronous.LambdaQ10Pu,generatorSynchronous.LambdaQ20Pu,generatorSynchronous.Lambdad0Pu,generatorSynchronous.Lambdaf0Pu,generatorSynchronous.Lambdaq0Pu,generatorSynchronous.LdPPu,generatorSynchronous.LfPPu,generatorSynchronous.LqPPu,generatorSynchronous.MdPPu,generatorSynchronous.MdPPuEfd,generatorSynchronous.MdPPuEfdNom,generatorSynchronous.MdSat0PPu,generatorSynchronous.Mds0Pu,generatorSynchronous.Mi0Pu,generatorSynchronous.MqPPu,generatorSynchronous.MqSat0PPu,generatorSynchronous.Mqs0Pu,generatorSynchronous.MrcPPu,generatorSynchronous.MsalPu,generatorSynchronous.NbSwitchOffSignals,generatorSynchronous.P0Pu,generatorSynchronous.PGen0Pu,generatorSynchronous.PGenPu,generatorSynchronous.PGenPu_out,generatorSynchronous.PNomAlt,generatorSynchronous.PNomTurb,generatorSynchronous.Pm0Pu,generatorSynchronous.Q0Pu,generatorSynchronous.QGen0Pu,generatorSynchronous.QNomAlt,generatorSynchronous.QStator0Pu,generatorSynchronous.QStator0PuQNom,generatorSynchronous.RDPPu,generatorSynchronous.RQ1PPu,generatorSynchronous.RQ2PPu,generatorSynchronous.RTfPu,generatorSynchronous.RTfoPu,generatorSynchronous.RaPPu,generatorSynchronous.RfPPu,generatorSynchronous.Running0,generatorSynchronous.SNom,generatorSynchronous.Sin2Eta0,generatorSynchronous.SnTfo,generatorSynchronous.State0,generatorSynchronous.SwitchOffSignal10,generatorSynchronous.SwitchOffSignal20,generatorSynchronous.SwitchOffSignal30,generatorSynchronous.Theta0,generatorSynchronous.ThetaInternal0,generatorSynchronous.U0Pu,generatorSynchronous.UBaseHV,generatorSynchronous.UBaseLV,generatorSynchronous.UNom,generatorSynchronous.UNomHV,generatorSynchronous.UNomLV,generatorSynchronous.UPhase0,generatorSynchronous.UPu,generatorSynchronous.UStator0Pu,generatorSynchronous.Ud0Pu,generatorSynchronous.Uf0Pu,generatorSynchronous.Uq0Pu,generatorSynchronous.XTfPu,generatorSynchronous.XTfoPu,generatorSynchronous.generatorSynchronousInt_INIT.DPu,generatorSynchronous.generatorSynchronousInt_INIT.ExcitationPu,generatorSynchronous.generatorSynchronousInt_INIT.H,generatorSynchronous.generatorSynchronousInt_INIT.LDPu,generatorSynchronous.generatorSynchronousInt_INIT.LQ1Pu,generatorSynchronous.generatorSynchronousInt_INIT.LQ2Pu,generatorSynchronous.generatorSynchronousInt_INIT.LdPu,generatorSynchronous.generatorSynchronousInt_INIT.LfPu,generatorSynchronous.generatorSynchronousInt_INIT.LqPu,generatorSynchronous.generatorSynchronousInt_INIT.MdPu,generatorSynchronous.generatorSynchronousInt_INIT.MdPuEfd,generatorSynchronous.generatorSynchronousInt_INIT.MqPu,generatorSynchronous.generatorSynchronousInt_INIT.MrcPu,generatorSynchronous.generatorSynchronousInt_INIT.P0Pu,generatorSynchronous.generatorSynchronousInt_INIT.PNomAlt,generatorSynchronous.generatorSynchronousInt_INIT.PNomTurb,generatorSynchronous.generatorSynchronousInt_INIT.Q0Pu,generatorSynchronous.generatorSynchronousInt_INIT.QNomAlt,generatorSynchronous.generatorSynchronousInt_INIT.RDPu,generatorSynchronous.generatorSynchronousInt_INIT.RQ1Pu,generatorSynchronous.generatorSynchronousInt_INIT.RQ2Pu,generatorSynchronous.generatorSynchronousInt_INIT.RTfPu,generatorSynchronous.generatorSynchronousInt_INIT.RTfoPu,generatorSynchronous.generatorSynchronousInt_INIT.RaPu,generatorSynchronous.generatorSynchronousInt_INIT.RfPu,generatorSynchronous.generatorSynchronousInt_INIT.SNom,generatorSynchronous.generatorSynchronousInt_INIT.SnTfo,generatorSynchronous.generatorSynchronousInt_INIT.U0Pu,generatorSynchronous.generatorSynchronousInt_INIT.UBaseHV,generatorSynchronous.generatorSynchronousInt_INIT.UBaseLV,generatorSynchronous.generatorSynchronousInt_INIT.UNom,generatorSynchronous.generatorSynchronousInt_INIT.UNomHV,generatorSynchronous.generatorSynchronousInt_INIT.UNomLV,generatorSynchronous.generatorSynchronousInt_INIT.UPhase0,generatorSynchronous.generatorSynchronousInt_INIT.XTfPu,generatorSynchronous.generatorSynchronousInt_INIT.XTfoPu,generatorSynchronous.generatorSynchronousInt_INIT.iStart0Pu.im,generatorSynchronous.generatorSynchronousInt_INIT.iStart0Pu.re,generatorSynchronous.generatorSynchronousInt_INIT.md,generatorSynchronous.generatorSynchronousInt_INIT.mq,generatorSynchronous.generatorSynchronousInt_INIT.nd,generatorSynchronous.generatorSynchronousInt_INIT.nq,generatorSynchronous.generatorSynchronousInt_INIT.rTfoPu,generatorSynchronous.i0Pu.im,generatorSynchronous.i0Pu.re,generatorSynchronous.iStator0Pu.im,generatorSynchronous.iStator0Pu.re,generatorSynchronous.md,generatorSynchronous.mq,generatorSynchronous.nd,generatorSynchronous.nq,generatorSynchronous.rTfoPu,generatorSynchronous.s0Pu.im,generatorSynchronous.s0Pu.re,generatorSynchronous.sStator0Pu.im,generatorSynchronous.sStator0Pu.re,generatorSynchronous.u0Pu.im,generatorSynchronous.u0Pu.re,generatorSynchronous.uStator0Pu.im,generatorSynchronous.uStator0Pu.re,governor.ATurb,governor.CustomTable[1,1],governor.CustomTable[1,2],governor.CustomTable[2,1],governor.CustomTable[2,2],governor.CustomTable[3,1],governor.CustomTable[3,2],governor.CustomTable[4,1],governor.CustomTable[4,2],governor.CustomTable[5,1],governor.CustomTable[5,2],governor.CustomTable[6,1],governor.CustomTable[6,2],governor.CustomTable[7,1],governor.CustomTable[7,2],governor.DTurb,governor.DeltaOmegaDbPu,governor.DeltaOmegaEpsPu,governor.DeltaPDbPu,governor.FrancisPeltonTable[1,1],governor.FrancisPeltonTable[1,2],governor.FrancisPeltonTable[2,1],governor.FrancisPeltonTable[2,2],governor.FrancisPeltonTable[3,1],governor.FrancisPeltonTable[3,2],governor.FrancisPeltonTable[4,1],governor.FrancisPeltonTable[4,2],governor.FrancisPeltonTable[5,1],governor.FrancisPeltonTable[5,2],governor.FrancisPeltonTable[6,1],governor.FrancisPeltonTable[6,2],governor.FrancisPeltonTable[7,1],governor.FrancisPeltonTable[7,2],governor.GMax,governor.GMin,governor.HDam,governor.InitSet,governor.KaplanTable[1,1],governor.KaplanTable[1,2],governor.KaplanTable[2,1],governor.KaplanTable[2,2],governor.KaplanTable[3,1],governor.KaplanTable[3,2],governor.KaplanTable[4,1],governor.KaplanTable[4,2],governor.KaplanTable[5,1],governor.KaplanTable[5,2],governor.KaplanTable[6,1],governor.KaplanTable[6,2],governor.KaplanTable[7,1],governor.KaplanTable[7,2],governor.Lookuptab[1,1],governor.Lookuptab[1,2],governor.Lookuptab[2,1],governor.Lookuptab[2,2],governor.Lookuptab[3,1],governor.Lookuptab[3,2],governor.Lookuptab[4,1],governor.Lookuptab[4,2],governor.Lookuptab[5,1],governor.Lookuptab[5,2],governor.Lookuptab[6,1],governor.Lookuptab[6,2],governor.Lookuptab[7,1],governor.Lookuptab[7,2],governor.ModelInt,governor.PRef0Pu,governor.Pm0Pu,governor.QNl,governor.RPerm,governor.RTemp,governor.Sel,governor.SimpleTable[1,1],governor.SimpleTable[1,2],governor.SimpleTable[2,1],governor.SimpleTable[2,2],governor.UC,governor.UO,governor.addDeltaOmega.k1,governor.addDeltaOmega.k2,governor.addDeltaP.k1,governor.addDeltaP.k2,governor.addDeltaP.k3,governor.addFeedback.k1,governor.addFeedback.k2,governor.addHDam.k1,governor.addHDam.k2,governor.addPm.k1,governor.addPm.k2,governor.addQnl.k1,governor.addQnl.k2,governor.const.k,governor.constant1.k,governor.dbOmega.EpsMax,governor.dbOmega.EpsMin,governor.dbOmega.UMax,governor.dbOmega.UMin,governor.dbPower.Aux0,governor.dbPower.H0,governor.dbPower.Tolerance,governor.dbPower.U0,governor.dbPower.UHigh,governor.dbPower.ULow,governor.gainATurb.k,governor.gainDTurb.k,governor.gainRPerm.k,governor.gainTg.k,governor.intLimG.initType,governor.intLimG.k,governor.intLimG.limitsAtInit,governor.intLimG.outMax,governor.intLimG.outMin,governor.intLimG.strict,governor.intLimG.y_start,governor.intTw.initType,governor.intTw.k,governor.intTw.y_start,governor.lagTp.T,governor.lagTp.initType,governor.lagTp.k,governor.lagTp.y_start,governor.limitU.homotopyType,governor.limitU.limitsAtInit,governor.limitU.strict,governor.limitU.uMax,governor.limitU.uMin,governor.tG,governor.tP,governor.tR,governor.tW,governor.tableGvPgv.columns[1],governor.tableGvPgv.extrapolation,governor.tableGvPgv.nout,governor.tableGvPgv.smoothness,governor.tableGvPgv.tableOnFile,governor.tableGvPgv.table[1,1],governor.tableGvPgv.table[1,2],governor.tableGvPgv.table[2,1],governor.tableGvPgv.table[2,2],governor.tableGvPgv.table[3,1],governor.tableGvPgv.table[3,2],governor.tableGvPgv.table[4,1],governor.tableGvPgv.table[4,2],governor.tableGvPgv.table[5,1],governor.tableGvPgv.table[5,2],governor.tableGvPgv.table[6,1],governor.tableGvPgv.table[6,2],governor.tableGvPgv.table[7,1],governor.tableGvPgv.table[7,2],governor.tableGvPgv.u_max,governor.tableGvPgv.u_min,governor.tableGvPgv.verboseExtrapolation,governor.tableGvPgv.verboseRead,governor.tfRTemp.T,governor.tfRTemp.initType,governor.tfRTemp.k,governor.tfRTemp.x_start,governor.tfRTemp.y_start,governor.tfRTemp.zeroGain,load.NbSwitchOffSignals,load.Running0,load.State0,load.SwitchOffSignal10,load.SwitchOffSignal20,load.SwitchOffSignal30,load.alpha,load.beta,load.i0Pu.im,load.i0Pu.re,load.s0Pu.im,load.s0Pu.re,load.u0Pu.im,load.u0Pu.re,load_INIT.P0Pu,load_INIT.Q0Pu,load_INIT.U0Pu,load_INIT.UPhase0,omegaRef0.k,time filterSimulationResults("Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.diff.mat", vars={"generatorSynchronous.PGenPu", "generatorSynchronous.UPu"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.diff.ref.mat", vars={"generatorSynchronous.PGenPu", "generatorSynchronous.UPu"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.6037753177806735]