Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.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.0009173/0.0009173, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.000868/0.000868, allocations: 169.2 kB / 23.23 MB, free: 1.332 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.8513/0.8513, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.4033/0.4033, allocations: 76.91 MB / 314.2 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovCt2St4b,fileNamePrefix="Dynawo_Dynawo_Examples_SMIB_Standard_GovCt2St4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovCt2St4b,fileNamePrefix="Dynawo_Dynawo_Examples_SMIB_Standard_GovCt2St4b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 488.4 MB, free: 28.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.291e-05, allocations: 2.281 kB / 488.4 MB, free: 28.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.006812/0.006835, allocations: 8.441 MB / 496.9 MB, free: 22.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00595/0.01278, allocations: 4.615 MB / 0.4897 GB, free: 19.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01384, allocations: 47.47 kB / 0.4898 GB, free: 19.55 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:24:3-24:104:writable] Warning: Connector omegaRefPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:25:3-25:94:writable] Warning: Connector PmPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:26:3-26:125:writable] Warning: Connector efdPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:29:3-29:96:writable] Warning: Connector omegaPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:42:3-42:108:writable] Warning: Connector UStatorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:43:3-43:115:writable] Warning: Connector IStatorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:44:3-44:116:writable] Warning: Connector QStatorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:45:3-45:126:writable] Warning: Connector QStatorPuQNom is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:46:3-46:123:writable] Warning: Connector IRotorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:47:3-47:95:writable] Warning: Connector thetaInternal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Loads/BaseClasses/BaseLoad.mo:32:3-32:125:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01484, allocations: 0.5189 MB / 0.4903 GB, free: 19.28 MB / 442.7 MB [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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. Notification: Performance of NFTyping.typeBindings: time 0.001134/0.01597, allocations: 0.7076 MB / 0.491 GB, free: 18.8 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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. Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.01852, allocations: 1.802 MB / 0.4928 GB, free: 17.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.02067, allocations: 2.901 MB / 0.4956 GB, free: 16.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.02133, allocations: 0.5511 MB / 0.4961 GB, free: 15.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.02231, allocations: 1.022 MB / 0.4971 GB, free: 15.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.02323, allocations: 0.9763 MB / 0.4981 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.02364, allocations: 266.2 kB / 0.4983 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006527/0.02429, allocations: 486.6 kB / 0.4988 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.02461, allocations: 0.6615 MB / 0.4994 GB, free: 14.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.02516, allocations: 0.7819 MB / 0.5002 GB, free: 14.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.02766, allocations: 3.588 MB / 0.5037 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02767, allocations: 1.125 kB / 0.5037 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.02767, allocations: 4 kB / 0.5037 GB, free: 12.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.02769, allocations: 0 / 0.5037 GB, free: 12.62 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.004691/0.03238, allocations: 3.227 MB / 0.5069 GB, free: 10.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.03242, allocations: 10.55 kB / 0.5069 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/0.03264, allocations: 234.8 kB / 0.5071 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.03353, allocations: 441.5 kB / 0.5075 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.03527, allocations: 1.448 MB / 0.5089 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.03552, allocations: 0.5486 MB / 0.5095 GB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.03571, allocations: 163 kB / 0.5096 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.03818, allocations: 2.301 MB / 0.5119 GB, free: 7.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.03821, allocations: 5.625 kB / 0.5119 GB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.03832, allocations: 62.78 kB / 0.5119 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.03836, allocations: 37.5 kB / 0.512 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.04088, allocations: 1.598 MB / 0.5135 GB, free: 7.078 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007983/0.04886, allocations: 5.566 MB / 0.519 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.05138, allocations: 1.61 MB / 0.5205 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.05246, allocations: 0.7856 MB / 0.5213 GB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.691e-05/0.05255, allocations: 23.67 kB / 0.5213 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.05408, allocations: 1.171 MB / 0.5225 GB, free: 2.188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 3.125e-06/0.05408, allocations: 4 kB / 0.5225 GB, free: 2.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=161): time 0.006765/0.06085, allocations: 3.508 MB / 0.5259 GB, free: 360 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.06096, allocations: 414.8 kB / 0.5263 GB, free: 15.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.0634, allocations: 2.085 MB / 0.5283 GB, free: 14.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.06351, allocations: 64.7 kB / 0.5284 GB, free: 14.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.06411, allocations: 0.9695 MB / 0.5293 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.06455, allocations: 0.5661 MB / 0.5299 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.06492, allocations: 296 kB / 0.5302 GB, free: 13.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.065, allocations: 303 kB / 0.5305 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.06607, allocations: 0.7603 MB / 0.5312 GB, free: 12.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.06745, allocations: 1.437 MB / 0.5326 GB, free: 11.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005978/0.07343, allocations: 3.806 MB / 0.5363 GB, free: 8.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.07344, allocations: 4 kB / 0.5363 GB, free: 8.035 MB / 458.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004066/0.0775, allocations: 2.633 MB / 0.5389 GB, free: 5.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.07752, allocations: 12.05 kB / 0.5389 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.07754, allocations: 8 kB / 0.5389 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/0.07839, allocations: 0.5168 MB / 0.5394 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.07976, allocations: 0.5033 MB / 0.5399 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00733/0.08709, allocations: 5.806 MB / 0.5456 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.08833, allocations: 254.7 kB / 0.5458 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.08842, allocations: 63.98 kB / 0.5459 GB, free: 14.01 MB / 474.7 MB Warning: Assuming fixed start value for the following 15 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.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean 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(start = generatorSynchronous.Theta0 unit = \"rad\" fixed = true ) \"Rotor angle: angle between machine rotor frame and port phasor frame\" type: Real governor.derivativetA.x:VARIABLE(start = governor.derivativetA.x_start fixed = true ) \"State of block\" type: Real governor.integratorKIMw.y:VARIABLE(flow=false start = governor.integratorKIMw.Y0 fixed = true ) \"Connector of Real output signal\" type: Real governor.transferFunctCtB.x_scaled[1]:VARIABLE(start = governor.transferFunctCtB.a_end * governor.transferFunctCtB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.a_end * governor.transferFunctSAtSB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001827/0.09025, allocations: 1.143 MB / 0.547 GB, free: 12.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00136/0.09161, allocations: 1.425 MB / 0.5484 GB, free: 11.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006074/0.09768, allocations: 3.776 MB / 0.5521 GB, free: 7.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/0.09769, allocations: 3.984 kB / 0.5521 GB, free: 7.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.004179/0.1019, allocations: 2.602 MB / 0.5546 GB, free: 4.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1019, allocations: 22.56 kB / 0.5547 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1019, allocations: 4 kB / 0.5547 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008093/0.1027, allocations: 0.5207 MB / 0.5552 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.104, allocations: 0.5033 MB / 0.5557 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.1111, allocations: 5.798 MB / 0.5613 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.1124, allocations: 239.1 kB / 0.5615 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.1125, allocations: 59.98 kB / 0.5616 GB, free: 13.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 15 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.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean 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(start = generatorSynchronous.Theta0 unit = \"rad\" fixed = true ) \"Rotor angle: angle between machine rotor frame and port phasor frame\" type: Real governor.derivativetA.x:VARIABLE(start = governor.derivativetA.x_start fixed = true ) \"State of block\" type: Real governor.integratorKIMw.y:VARIABLE(flow=false start = governor.integratorKIMw.Y0 fixed = true ) \"Connector of Real output signal\" type: Real governor.transferFunctCtB.x_scaled[1]:VARIABLE(start = governor.transferFunctCtB.a_end * governor.transferFunctCtB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.a_end * governor.transferFunctSAtSB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.load.state,load.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,load.switchOffSignal2.value,load.switchOffSignal1.value,generatorSynchronous.switchOffSignal3.value,generatorSynchronous.switchOffSignal2.value,generatorSynchronous.switchOffSignal1.value,governor.firstOrdertActuatorRatelim.local_freeze,$PRE.generatorSynchronous.running.value,$PRE.avr.limPI1.hysteresisMin.y,$PRE.avr.limPI2.hysteresisMin.y,$PRE.load.running.value,$PRE.avr.limPI2.hysteresisMax.y,$PRE.avr.limPI1.hysteresisMax.y,load.running.value,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.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset,governor.integratorKILoad.local_reset,governor.integratorKIGov.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005243/0.1131, allocations: 376.1 kB / 0.562 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.1133, allocations: 250.4 kB / 0.5622 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.1174, allocations: 2.436 MB / 0.5646 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1174, allocations: 16 kB / 0.5646 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1174, allocations: 7.938 kB / 0.5646 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.1174, allocations: 7.969 kB / 0.5646 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005905/0.1233, allocations: 4.092 MB / 0.5686 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1233, allocations: 0 / 0.5686 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.1249, allocations: 471.5 kB / 0.5691 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008259/0.1257, allocations: 0.5206 MB / 0.5696 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.1259, allocations: 39.98 kB / 0.5696 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006332/0.1322, allocations: 5.536 MB / 0.575 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1322, allocations: 4.031 kB / 0.575 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.1374, allocations: 3.531 MB / 0.5785 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007565/0.1382, allocations: 449.9 kB / 0.5789 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.1384, allocations: 43.94 kB / 0.5789 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/0.1391, allocations: 143.8 kB / 0.5791 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.1395, allocations: 168.9 kB / 0.5792 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.1395, allocations: 47.91 kB / 0.5793 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001585/0.1411, allocations: 1.437 MB / 0.5807 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1411, allocations: 0 / 0.5807 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002005/0.1431, allocations: 0.901 MB / 0.5816 GB, free: 8.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.derivativetA.x,governor.derivativeKDGovTDGov.x,governor.firstOrdertActuatorRatelim.y,governor.firstOrdertFLoad.y,governor.firstOrdertPElec.y,governor.integratorKIGov.y,governor.integratorKILoad.y,governor.integratorKIMw.y,governor.lastValue.y,governor.rateLimitFsrt.y,governor.rateLimitPRate.y,governor.transferFunctCtB.x_scaled[1],governor.transferFunctSAtSB.x_scaled[1],avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y) * Number of discrete variables: 17 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,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,load.running.value,load.state) * Number of discrete states: 6 (load.running.value,generatorSynchronous.running.value,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * 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.005854/0.149, allocations: 4.454 MB / 0.5859 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005497/0.1545, allocations: 3.812 MB / 0.5896 GB, free: 440 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1545, allocations: 4.062 kB / 0.5896 GB, free: 436 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.1564, allocations: 1.435 MB / 0.591 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.1575, allocations: 383.3 kB / 0.5914 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/0.1858, allocations: 19.82 MB / 0.6108 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.1867, allocations: 0.951 MB / 0.6117 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009813/0.1877, allocations: 305 kB / 0.612 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000898/0.1886, allocations: 0.8986 MB / 0.6129 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/0.1886, allocations: 0 / 0.6129 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07724/0.2658, allocations: 66.3 MB / 0.6776 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.15, allocations: 7.188 kB / 0.6776 GB, free: 6.082 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Dynawo_Dynawo_Examples_SMIB_Standard_GovCt2St4b.fmu > Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.242684229277074] Failed to read output from testmodel.py, exit status != 0: 11.288865371607244 11.507160417 11.478088172 Calling exit ...