Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 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 1.58/1.58, allocations: 205.1 MB / 227.2 MB, free: 4.559 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.6588/0.6588, allocations: 100.7 MB / 377.3 MB, free: 4.445 MB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-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.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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003219/0.003219, allocations: 71.89 kB / 0.5276 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1766, allocations: 71.46 MB / 0.5974 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b): time 0.01162/0.1883, allocations: 8.804 MB / 0.606 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009109/0.1974, allocations: 4.908 MB / 0.6108 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.199, allocations: 43.75 kB / 0.6108 GB, free: 8.555 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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-master/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.001311/0.2003, allocations: 427.2 kB / 0.6112 GB, free: 8.137 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:22:3-22:139:writable] Warning: In relation avr.rectifierRegulationCharacteristic.ULow == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:23:3-23:131:writable] Warning: In relation avr.rectifierRegulationCharacteristic.UHigh == 1.0, == on Real numbers is only allowed inside functions. [/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.001811/0.2022, allocations: 0.5311 MB / 0.6117 GB, free: 7.602 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:154:3-154:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:155:3-155:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:157:3-157:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.2069, allocations: 2.163 MB / 0.6138 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004345/0.2112, allocations: 2.743 MB / 0.6165 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2125, allocations: 0.7673 MB / 0.6173 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.2143, allocations: 1.004 MB / 0.6183 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.2158, allocations: 1.128 MB / 0.6194 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.2162, allocations: 248 kB / 0.6196 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009256/0.2171, allocations: 459.8 kB / 0.62 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.2177, allocations: 0.5488 MB / 0.6206 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.2187, allocations: 1.091 MB / 0.6216 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00385/0.2226, allocations: 3.132 MB / 0.6247 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2226, allocations: 0 / 0.6247 GB, free: 10.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2226, allocations: 7.938 kB / 0.6247 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.2227, allocations: 0 / 0.6247 GB, free: 10.26 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007515/0.2302, allocations: 3.018 MB / 0.6276 GB, free: 7.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2303, allocations: 8.031 kB / 0.6277 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.2305, allocations: 210.8 kB / 0.6279 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.2321, allocations: 407.2 kB / 0.6282 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.2343, allocations: 1.354 MB / 0.6296 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.2347, allocations: 304.1 kB / 0.6299 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.2349, allocations: 151.9 kB / 0.63 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.2388, allocations: 1.915 MB / 0.6319 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.2388, allocations: 3.938 kB / 0.6319 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.239, allocations: 63.98 kB / 0.6319 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.239, allocations: 32 kB / 0.632 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/0.2426, allocations: 1.572 MB / 0.6335 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2892/0.5318, allocations: 6.679 MB / 0.64 GB, free: 37.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005156/0.537, allocations: 1.964 MB / 0.6419 GB, free: 36.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.5389, allocations: 0.8367 MB / 0.6428 GB, free: 36.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.539, allocations: 32.59 kB / 0.6428 GB, free: 36.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002273/0.5413, allocations: 1.018 MB / 0.6438 GB, free: 35.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=147): time 4.018e-06/0.5413, allocations: 7.844 kB / 0.6438 GB, free: 35.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=147): time 0.01369/0.555, allocations: 3.803 MB / 0.6475 GB, free: 34.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.5552, allocations: 487.9 kB / 0.648 GB, free: 34.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.5579, allocations: 1.548 MB / 0.6495 GB, free: 33.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.5582, allocations: 65.66 kB / 0.6495 GB, free: 33.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.5588, allocations: 0.8459 MB / 0.6504 GB, free: 32.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.5593, allocations: 0.5215 MB / 0.6509 GB, free: 32.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/0.5598, allocations: 286.9 kB / 0.6512 GB, free: 32.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.5599, allocations: 302.5 kB / 0.6514 GB, free: 32.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5618, allocations: 0.7948 MB / 0.6522 GB, free: 31.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.5638, allocations: 1.158 MB / 0.6534 GB, free: 31.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009483/0.5733, allocations: 3.554 MB / 0.6568 GB, free: 29.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.5734, allocations: 2.156 kB / 0.6568 GB, free: 29.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007376/0.5808, allocations: 2.669 MB / 0.6594 GB, free: 28.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.5808, allocations: 8.156 kB / 0.6594 GB, free: 28.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5808, allocations: 5.625 kB / 0.6594 GB, free: 28.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5822, allocations: 0.5135 MB / 0.6599 GB, free: 28.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.5846, allocations: 431.5 kB / 0.6604 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.5951, allocations: 6.157 MB / 0.6664 GB, free: 23.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.5971, allocations: 249.1 kB / 0.6666 GB, free: 23.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.5973, allocations: 63.27 kB / 0.6667 GB, free: 23.05 MB / 494.1 MB Warning: Assuming fixed start value for the following 12 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.omegaPu.value:VARIABLE(flow=false start = 1.0 fixed = true ) 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(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 load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001929/0.5993, allocations: 0.9905 MB / 0.6676 GB, free: 22.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001466/0.6007, allocations: 1.035 MB / 0.6686 GB, free: 21.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007605/0.6083, allocations: 3.228 MB / 0.6718 GB, free: 19.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/0.6084, allocations: 4 kB / 0.6718 GB, free: 19.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization_lambda0): time 0.005876/0.6143, allocations: 2.367 MB / 0.6741 GB, free: 18.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6143, allocations: 11.88 kB / 0.6741 GB, free: 18.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6143, allocations: 7.844 kB / 0.6741 GB, free: 18.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6155, allocations: 0.4936 MB / 0.6746 GB, free: 18.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.6175, allocations: 387.5 kB / 0.675 GB, free: 18.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009102/0.6266, allocations: 5.974 MB / 0.6808 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.6284, allocations: 217.4 kB / 0.681 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6286, allocations: 63.92 kB / 0.6811 GB, free: 11.59 MB / 494.1 MB Warning: Assuming fixed start value for the following 12 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.omegaPu.value:VARIABLE(flow=false start = 1.0 fixed = true ) 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(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 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: 37 ($PRE.load.state,load.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,$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,load.switchOffSignal2.value,load.switchOffSignal1.value,generatorSynchronous.switchOffSignal3.value,generatorSynchronous.switchOffSignal2.value,generatorSynchronous.switchOffSignal1.value,governor.limIntegratortRh.local_reset,governor.limIntegratorPID.local_reset,governor.limIntegratorIv.local_reset,governor.limIntegratorCv.local_reset,governor.integratortB.local_reset,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 168 * 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.0005644/0.6291, allocations: 334.3 kB / 0.6814 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.6294, allocations: 214.7 kB / 0.6816 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/0.6357, allocations: 2.429 MB / 0.684 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6358, allocations: 19.92 kB / 0.684 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6358, allocations: 0 / 0.684 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.6358, allocations: 7.969 kB / 0.684 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007993/0.6438, allocations: 4.311 MB / 0.6882 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6438, allocations: 0 / 0.6882 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/0.6462, allocations: 367.6 kB / 0.6886 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.6474, allocations: 0.5164 MB / 0.6891 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.6475, allocations: 35.98 kB / 0.6891 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.6579, allocations: 5.894 MB / 0.6949 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.658, allocations: 3.984 kB / 0.6949 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/0.6677, allocations: 3.512 MB / 0.6983 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.6687, allocations: 465.9 kB / 0.6987 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.669, allocations: 39.94 kB / 0.6988 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6703, allocations: 151.8 kB / 0.6989 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/0.6708, allocations: 169.1 kB / 0.6991 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.671, allocations: 43.98 kB / 0.6991 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001547/0.6725, allocations: 1.041 MB / 0.7001 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6725, allocations: 0 / 0.7001 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002475/0.675, allocations: 0.831 MB / 0.701 GB, free: 6.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (generatorSynchronous.omegaPu.value,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.derivativetDPctPc.x,governor.firstOrdertEn.y,governor.firstOrdertfT.y,governor.firstOrdertHp.y,governor.firstOrdertLp.y,governor.firstOrdertOmega.y,governor.firstOrdertP.y,governor.integratortB.y,governor.limIntegratorCv.y,governor.limIntegratorIv.y,governor.limIntegratorPID.y,governor.limIntegratortRh.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 (117): * Single equations (assignments): 111 * 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.0112/0.6862, allocations: 4.424 MB / 0.7053 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01002/0.6963, allocations: 3.95 MB / 0.7091 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.6963, allocations: 0 / 0.7091 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/0.7003, allocations: 1.509 MB / 0.7106 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7023, allocations: 373.6 kB / 0.711 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/0.7392, allocations: 17.24 MB / 0.7278 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.7406, allocations: 1.406 MB / 0.7292 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001254/0.7418, allocations: 243.1 kB / 0.7294 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.743, allocations: 0.7687 MB / 0.7302 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.743, allocations: 0 / 0.7302 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/0.8682, allocations: 58.68 MB / 0.7875 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.58, allocations: 8.062 kB / 0.7875 GB, free: 14.25 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.27473215898499] Failed to read output from testmodel.py, exit status != 0: 16.759710086043924 16.782420693 16.555716023 Calling exit ...