Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.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.001283/0.001283, allocations: 111.3 kB / 17.6 MB, free: 4.699 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.001272/0.001272, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.453/1.453, allocations: 207.6 MB / 231.4 MB, free: 3.168 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.5418/0.5418, allocations: 101.8 MB / 385.3 MB, free: 15.42 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-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.GovCt2St4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovCt2St4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovCt2St4b,fileNamePrefix="Dynawo_dev_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.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.003324/0.003324, allocations: 75.89 kB / 0.5445 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1618, allocations: 75.38 MB / 0.6181 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.01287/0.1746, allocations: 10.05 MB / 0.6279 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1847, allocations: 5.15 MB / 0.6329 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.1866, allocations: 43.81 kB / 0.633 GB, free: 3.523 MB / 494.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.001686/0.1883, allocations: 0.5421 MB / 0.6335 GB, free: 2.98 MB / 494.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-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. Notification: Performance of NFTyping.typeBindings: time 0.002402/0.1907, allocations: 0.7022 MB / 0.6342 GB, free: 2.273 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/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-master/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-master/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-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.004505/0.1952, allocations: 2.02 MB / 0.6362 GB, free: 264 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3285/0.5237, allocations: 3.145 MB / 0.6392 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.5249, allocations: 0.6165 MB / 0.6398 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.5266, allocations: 1.157 MB / 0.641 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.5282, allocations: 1.358 MB / 0.6423 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.5287, allocations: 291.9 kB / 0.6426 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.5297, allocations: 0.4968 MB / 0.643 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.5304, allocations: 0.7087 MB / 0.6437 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.5317, allocations: 1.312 MB / 0.645 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006034/0.5377, allocations: 3.77 MB / 0.6487 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5377, allocations: 1.625 kB / 0.6487 GB, free: 12.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5377, allocations: 0 / 0.6487 GB, free: 12.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.5378, allocations: 0 / 0.6487 GB, free: 12.32 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.01024/0.5481, allocations: 3.537 MB / 0.6522 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.5481, allocations: 10.19 kB / 0.6522 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004066/0.5485, allocations: 254.4 kB / 0.6524 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.5505, allocations: 460.7 kB / 0.6528 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.5538, allocations: 1.645 MB / 0.6545 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.5541, allocations: 387.4 kB / 0.6548 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.5544, allocations: 177.6 kB / 0.655 GB, free: 9.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.5587, allocations: 2.145 MB / 0.6571 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.5588, allocations: 1.031 kB / 0.6571 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.5589, allocations: 72.72 kB / 0.6572 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/0.559, allocations: 41.28 kB / 0.6572 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.5626, allocations: 1.828 MB / 0.659 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.5746, allocations: 8.287 MB / 0.6671 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.5782, allocations: 1.702 MB / 0.6687 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5798, allocations: 0.8363 MB / 0.6696 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.5799, allocations: 21.59 kB / 0.6696 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.5819, allocations: 1.15 MB / 0.6707 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=166): time 3.887e-06/0.5819, allocations: 0 / 0.6707 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.01278/0.5947, allocations: 3.573 MB / 0.6742 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002964/0.595, allocations: 464.3 kB / 0.6746 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.5993, allocations: 2.194 MB / 0.6768 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004497/0.5998, allocations: 65.86 kB / 0.6768 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.6009, allocations: 1.034 MB / 0.6778 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000884/0.6018, allocations: 0.594 MB / 0.6784 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005862/0.6023, allocations: 310.5 kB / 0.6787 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6025, allocations: 308 kB / 0.679 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.6043, allocations: 0.799 MB / 0.6798 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.6065, allocations: 1.172 MB / 0.6809 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.6172, allocations: 3.897 MB / 0.6847 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.6172, allocations: 2.438 kB / 0.6847 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.008011/0.6253, allocations: 2.653 MB / 0.6873 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6253, allocations: 8 kB / 0.6873 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6253, allocations: 8 kB / 0.6874 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.6266, allocations: 462.6 kB / 0.6878 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.6296, allocations: 0.5512 MB / 0.6883 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.6397, allocations: 4.126 MB / 0.6924 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.6425, allocations: 262.7 kB / 0.6926 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.6427, allocations: 63.97 kB / 0.6927 GB, free: 15.71 MB / 0.5137 GB Warning: Assuming fixed start value for the following 13 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 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.002738/0.6455, allocations: 1.135 MB / 0.6938 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001914/0.6474, allocations: 1.075 MB / 0.6948 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01045/0.6578, allocations: 3.658 MB / 0.6984 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.108e-06/0.6578, allocations: 0 / 0.6984 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=222) (initialization_lambda0): time 0.007349/0.6652, allocations: 2.491 MB / 0.7008 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6652, allocations: 8 kB / 0.7008 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.6652, allocations: 11.92 kB / 0.7009 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.6665, allocations: 455.5 kB / 0.7013 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.6693, allocations: 0.508 MB / 0.7018 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.6793, allocations: 4.136 MB / 0.7058 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.6821, allocations: 223.2 kB / 0.706 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.6824, allocations: 63.98 kB / 0.7061 GB, free: 1.75 MB / 0.5137 GB Warning: Assuming fixed start value for the following 13 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 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: 28 * Number of states: 0 () * Number of discrete variables: 36 ($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,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,avr.limitedFirstOrder.I.local_reset,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 (197): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008544/0.6833, allocations: 357.2 kB / 0.7064 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.6843, allocations: 266.4 kB / 0.7067 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/0.6918, allocations: 2.441 MB / 0.7091 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6919, allocations: 16 kB / 0.7091 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.6919, allocations: 4 kB / 0.7091 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.6919, allocations: 11.95 kB / 0.7091 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.7033, allocations: 4.645 MB / 0.7136 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7034, allocations: 0 / 0.7136 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/0.7066, allocations: 0.4905 MB / 0.7141 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.7078, allocations: 451 kB / 0.7145 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.708, allocations: 43.97 kB / 0.7146 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009413/0.7174, allocations: 4.044 MB / 0.7185 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7174, allocations: 0 / 0.7185 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/0.7271, allocations: 3.583 MB / 0.722 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.7287, allocations: 0.5418 MB / 0.7226 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.7291, allocations: 44 kB / 0.7226 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.7306, allocations: 147.8 kB / 0.7228 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/0.731, allocations: 165.7 kB / 0.7229 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.7312, allocations: 51.97 kB / 0.723 GB, free: 388 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002752/0.7339, allocations: 1.508 MB / 0.7244 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7339, allocations: 0 / 0.7244 GB, free: 14.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002778/0.7367, allocations: 0.9204 MB / 0.7253 GB, free: 13.94 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 24 (governor.derivativeKDGovTDGov.x,generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.derivativetA.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.limitedFirstOrder.I.y,avr.firstOrder1.y) * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,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 (generatorSynchronous.running.value,load.running.value,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/0.7474, allocations: 4.497 MB / 0.7297 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009735/0.7571, allocations: 3.62 MB / 0.7333 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.7571, allocations: 4.312 kB / 0.7333 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003652/0.7608, allocations: 1.36 MB / 0.7346 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.7633, allocations: 406.4 kB / 0.735 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04486/0.8082, allocations: 20.53 MB / 0.755 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.8097, allocations: 1.584 MB / 0.7566 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001747/0.8114, allocations: 318.1 kB / 0.7569 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/0.813, allocations: 0.9835 MB / 0.7578 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.813, allocations: 4 kB / 0.7578 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.9475, allocations: 64.87 MB / 0.8212 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.69/26.64, allocations: 6.656 kB / 0.8212 GB, free: 12.04 MB / 0.6387 GB " [Timeout remaining time 633] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.sim & python3 -m fmpy simulate --output-file Dynawo_dev_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_dev_Dynawo_Examples_SMIB_Standard_GovCt2St4b.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.901045370992506] Failed to read output from testmodel.py, exit status != 0: 26.831184828013647 26.8549283 26.312505878 Calling exit ...