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.001608/0.001608, allocations: 114.1 kB / 19.71 MB, free: 2.18 MB / 14.72 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.001531/0.001531, allocations: 217.6 kB / 23.02 MB, free: 5.027 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.481/1.481, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.5858/0.5858, allocations: 103.9 MB / 390 MB, free: 20.36 MB / 318.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/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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 68.47 kB / 0.551 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3974, allocations: 76 MB / 0.6252 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.008895/0.4063, allocations: 9.653 MB / 0.6347 GB, free: 108 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009917/0.4163, allocations: 4.884 MB / 0.6394 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/0.4189, allocations: 51.69 kB / 0.6395 GB, free: 11.15 MB / 478.1 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.002005/0.4209, allocations: 0.5347 MB / 0.64 GB, free: 10.62 MB / 478.1 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 numbers is only allowed inside functions. [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003145/0.424, allocations: 0.683 MB / 0.6407 GB, free: 9.93 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovCt2St4b.mo:159:3-159:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovCt2St4b.mo:160:3-160:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovCt2St4b.mo:162:3-162:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/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 numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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/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/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/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/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/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/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/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/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/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.00478/0.4288, allocations: 1.831 MB / 0.6425 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.4342, allocations: 2.973 MB / 0.6454 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.4356, allocations: 0.583 MB / 0.6459 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.4378, allocations: 1.121 MB / 0.647 GB, free: 3.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.44, allocations: 1.279 MB / 0.6483 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.4406, allocations: 264 kB / 0.6485 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.4418, allocations: 487.9 kB / 0.649 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.4424, allocations: 0.6695 MB / 0.6496 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.4438, allocations: 1.216 MB / 0.6508 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.4491, allocations: 3.503 MB / 0.6543 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4491, allocations: 0 / 0.6543 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4491, allocations: 3.938 kB / 0.6543 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-05/0.4492, allocations: 4 kB / 0.6543 GB, free: 11.93 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.009829/0.459, allocations: 3.245 MB / 0.6574 GB, free: 8.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4591, allocations: 12.03 kB / 0.6574 GB, free: 8.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00037/0.4595, allocations: 235.9 kB / 0.6577 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.4612, allocations: 439 kB / 0.6581 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.4645, allocations: 1.448 MB / 0.6595 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/0.465, allocations: 0.5467 MB / 0.66 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.4653, allocations: 164 kB / 0.6602 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.4692, allocations: 1.95 MB / 0.6621 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.4692, allocations: 7.938 kB / 0.6621 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.4694, allocations: 68 kB / 0.6622 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.4694, allocations: 36 kB / 0.6622 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.4729, allocations: 1.6 MB / 0.6638 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4861, allocations: 7.039 MB / 0.6706 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.4903, allocations: 1.605 MB / 0.6722 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.4921, allocations: 0.7894 MB / 0.673 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.4923, allocations: 29.3 kB / 0.673 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.4946, allocations: 1.092 MB / 0.6741 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=161): time 4.578e-06/0.4946, allocations: 0 / 0.6741 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=161): time 0.01291/0.5075, allocations: 3.5 MB / 0.6775 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004048/0.5079, allocations: 410.9 kB / 0.6779 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/0.5125, allocations: 2.08 MB / 0.6799 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005145/0.513, allocations: 73.69 kB / 0.68 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.5141, allocations: 0.9608 MB / 0.6809 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/0.5151, allocations: 0.5771 MB / 0.6815 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/0.5157, allocations: 299.5 kB / 0.6818 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5158, allocations: 301.1 kB / 0.6821 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.5176, allocations: 0.7583 MB / 0.6828 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.5196, allocations: 1.11 MB / 0.6839 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.531, allocations: 3.799 MB / 0.6876 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.531, allocations: 7.75 kB / 0.6876 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008087/0.5391, allocations: 2.632 MB / 0.6902 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.5391, allocations: 8 kB / 0.6902 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.5391, allocations: 8 kB / 0.6902 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.5407, allocations: 0.525 MB / 0.6907 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.5437, allocations: 0.5033 MB / 0.6912 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.5564, allocations: 5.936 MB / 0.697 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.5588, allocations: 250.8 kB / 0.6972 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.559, allocations: 64.17 kB / 0.6973 GB, free: 14.57 MB / 0.5294 GB 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.002711/0.5617, allocations: 1.157 MB / 0.6984 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002008/0.5637, allocations: 1.095 MB / 0.6995 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01081/0.5746, allocations: 3.76 MB / 0.7032 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.5746, allocations: 4 kB / 0.7032 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007856/0.5824, allocations: 2.613 MB / 0.7057 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5825, allocations: 8 kB / 0.7057 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.5825, allocations: 8 kB / 0.7057 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.584, allocations: 0.5285 MB / 0.7062 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.587, allocations: 0.4994 MB / 0.7067 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.5995, allocations: 5.937 MB / 0.7125 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.6019, allocations: 231.3 kB / 0.7128 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.6021, allocations: 75.91 kB / 0.7128 GB, free: 14.21 MB / 0.545 GB 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.0007943/0.6029, allocations: 362.2 kB / 0.7132 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/0.6036, allocations: 250.4 kB / 0.7134 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/0.6108, allocations: 2.432 MB / 0.7158 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.6109, allocations: 16 kB / 0.7158 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6109, allocations: 0 / 0.7158 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.6109, allocations: 7.969 kB / 0.7158 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6218, allocations: 4.522 MB / 0.7202 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.6218, allocations: 0 / 0.7202 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/0.625, allocations: 467.5 kB / 0.7207 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.6266, allocations: 0.525 MB / 0.7212 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/0.627, allocations: 39.92 kB / 0.7212 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.6387, allocations: 5.677 MB / 0.7268 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6387, allocations: 0 / 0.7268 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009431/0.6482, allocations: 3.531 MB / 0.7302 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.6497, allocations: 449.9 kB / 0.7306 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/0.6501, allocations: 51.92 kB / 0.7307 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.6516, allocations: 139.8 kB / 0.7308 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/0.652, allocations: 164.9 kB / 0.731 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6522, allocations: 47.97 kB / 0.731 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002511/0.6547, allocations: 1.437 MB / 0.7324 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6547, allocations: 0 / 0.7324 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002783/0.6574, allocations: 0.901 MB / 0.7333 GB, free: 8.855 MB / 0.5606 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.01091/0.6684, allocations: 4.434 MB / 0.7376 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009853/0.6782, allocations: 3.826 MB / 0.7414 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.6782, allocations: 0 / 0.7414 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.6819, allocations: 1.451 MB / 0.7428 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.6841, allocations: 370.6 kB / 0.7431 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04606/0.7302, allocations: 19.79 MB / 0.7625 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.7317, allocations: 1.528 MB / 0.764 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001628/0.7333, allocations: 297 kB / 0.7642 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.7349, allocations: 0.9014 MB / 0.7651 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/0.7349, allocations: 4 kB / 0.7651 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/1.213, allocations: 64.63 MB / 0.8283 GB, free: 122.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.69/28.9, allocations: 12.06 kB / 0.8283 GB, free: 122.8 MB / 0.6075 GB " [Timeout remaining time 631] (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 sys.exit(0), Time elapsed: 32.45116147299996] Failed to read output from testmodel.py, exit status != 0: 29.11490812699776 29.123629068 28.672064447 Calling exit ...