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.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.002137/0.002137, allocations: 108.3 kB / 19.72 MB, free: 1.922 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.003857/0.003857, allocations: 212.3 kB / 23.01 MB, free: 4.98 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.557/1.557, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6624/0.6624, allocations: 115.9 MB / 402 MB, free: 15.91 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since 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.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.0026/0.0026, allocations: 79.08 kB / 0.5686 GB, free: 41.86 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1712, allocations: 79.03 MB / 0.6458 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.01615/0.1874, allocations: 9.888 MB / 0.6554 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.2018, allocations: 6.03 MB / 0.6613 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.2052, allocations: 47.69 kB / 0.6614 GB, free: 12.13 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 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 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 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 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 master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:100:3-100:88:writable] Warning: Connector idPu 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 master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:115:3-115:128:writable] Warning: Connector theta 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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:35:3-35:113:writable] Warning: Connector UPu 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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:36:3-36:138:writable] Warning: Connector PGenPu 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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:37:3-37:142:writable] Warning: Connector QGenPu 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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:42:3-42:120: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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:43:3-43:127: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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:44:3-44:128: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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:45:3-45:138: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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:46:3-46:135: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 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 master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:65:3-65:140:writable] Warning: Connector uPu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:66:3-66:168:writable] Warning: Connector iStatorPu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:23:3-23:135:writable] Warning: Connector PGen0Pu 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 master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:24:3-24:139:writable] Warning: Connector QGen0Pu 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 master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:25:3-25:118:writable] Warning: Connector U0PuVar 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 master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:27:3-27:114:writable] Warning: Connector u0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:29:3-29:169:writable] Warning: Connector i0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:61:3-61:128:writable] Warning: Connector Theta0 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:65:3-65:89:writable] Warning: Connector Id0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:70:3-70:118:writable] Warning: Connector Efd0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:81:3-81:108:writable] Warning: Connector Pm0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:83:3-83:116:writable] Warning: Connector UStator0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:84:3-84:117:writable] Warning: Connector IStator0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:85:3-85:124:writable] Warning: Connector QStator0Pu 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:86:3-86:130:writable] Warning: Connector QStator0PuQNom 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 master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:87:3-87:132:writable] Warning: Connector IRotor0Pu 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 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 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 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 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.002724/0.2079, allocations: 0.5853 MB / 0.6619 GB, free: 11.55 MB / 0.4981 GB [/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 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 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.004483/0.2124, allocations: 0.7995 MB / 0.6627 GB, free: 10.74 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousInt_INIT.mo:47:5-47:85:writable] Warning: In relation generatorSynchronous.generatorSynchronousInt_INIT.MdPuEfd <> 0.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Loads/LoadAlphaBeta.mo:24:5-30:11:writable] Warning: In relation load.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Loads/LoadAlphaBeta.mo:24:5-30:11:writable] Warning: In relation load.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007458/0.2198, allocations: 2.519 MB / 0.6652 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006519/0.2264, allocations: 3.601 MB / 0.6687 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.2282, allocations: 0.552 MB / 0.6692 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.2312, allocations: 1.358 MB / 0.6706 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.234, allocations: 1.395 MB / 0.6719 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.2353, allocations: 344 kB / 0.6723 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.2381, allocations: 0.8745 MB / 0.6731 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.2397, allocations: 0.7825 MB / 0.6739 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.2422, allocations: 1.166 MB / 0.675 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008777/0.251, allocations: 4.432 MB / 0.6793 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.251, allocations: 7.938 kB / 0.6793 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 6.603e-06/0.251, allocations: 4 kB / 0.6793 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001704/0.2512, allocations: 0 / 0.6793 GB, free: 9.637 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.01656/0.2677, allocations: 4.053 MB / 0.6833 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/0.2678, allocations: 12.92 kB / 0.6833 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.2691, allocations: 269.7 kB / 0.6836 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/0.2723, allocations: 0.4909 MB / 0.6841 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.2777, allocations: 1.634 MB / 0.6857 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/0.2789, allocations: 0.9956 MB / 0.6866 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008001/0.2797, allocations: 199.9 kB / 0.6868 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007005/0.2867, allocations: 2.697 MB / 0.6894 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.2867, allocations: 3.938 kB / 0.6895 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.2871, allocations: 79.98 kB / 0.6895 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.2872, allocations: 47.94 kB / 0.6896 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005382/0.2926, allocations: 2.003 MB / 0.6915 GB, free: 12.61 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.3102, allocations: 7.535 MB / 0.6989 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.316, allocations: 2.052 MB / 0.7009 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.3186, allocations: 1.005 MB / 0.7019 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.3189, allocations: 49.23 kB / 0.7019 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/0.3222, allocations: 1.447 MB / 0.7033 GB, free: 252 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=213): time 8.676e-06/0.3222, allocations: 0 / 0.7033 GB, free: 252 kB / 0.5294 GB Notification: Performance of matching and sorting (n=213): time 0.01608/0.3383, allocations: 4.336 MB / 0.7076 GB, free: 11.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003556/0.3386, allocations: 0.5016 MB / 0.7081 GB, free: 11.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/0.3449, allocations: 2.504 MB / 0.7105 GB, free: 8.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/0.3456, allocations: 77.77 kB / 0.7106 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.347, allocations: 1.027 MB / 0.7116 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/0.3486, allocations: 0.7904 MB / 0.7124 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002468/0.351, allocations: 0.6016 MB / 0.7129 GB, free: 6.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3512, allocations: 309 kB / 0.7132 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/0.355, allocations: 1.461 MB / 0.7147 GB, free: 4.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/0.3598, allocations: 2.285 MB / 0.7169 GB, free: 1.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02082/0.3806, allocations: 7.12 MB / 0.7238 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.3806, allocations: 0 / 0.7238 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.0122/0.3928, allocations: 4.504 MB / 0.7282 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.393, allocations: 127.3 kB / 0.7284 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/0.3931, allocations: 16 kB / 0.7284 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.3949, allocations: 0.5966 MB / 0.729 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/0.3993, allocations: 0.7841 MB / 0.7297 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.4152, allocations: 8.466 MB / 0.738 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/0.419, allocations: 421.7 kB / 0.7384 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008595/0.4199, allocations: 120 kB / 0.7385 GB, free: 11.05 MB / 0.5762 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(flow=false 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.X0[1] * governor.transferFunctCtB.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.X0[1] * governor.transferFunctSAtSB.a_end 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.006004/0.4259, allocations: 1.904 MB / 0.7404 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004743/0.4307, allocations: 2.281 MB / 0.7426 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0203/0.451, allocations: 7.077 MB / 0.7495 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.09e-05/0.451, allocations: 4 kB / 0.7495 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=459) (initialization_lambda0): time 0.01197/0.4629, allocations: 4.481 MB / 0.7539 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.4631, allocations: 138.8 kB / 0.754 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/0.4632, allocations: 16 kB / 0.754 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.4651, allocations: 0.597 MB / 0.7546 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.4693, allocations: 0.7802 MB / 0.7554 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.485, allocations: 8.439 MB / 0.7636 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.4886, allocations: 378.1 kB / 0.764 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006945/0.4893, allocations: 116 kB / 0.7641 GB, free: 15.86 MB / 0.6075 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(flow=false 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.X0[1] * governor.transferFunctCtB.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.X0[1] * governor.transferFunctSAtSB.a_end 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: 36 * 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,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset,governor.integratorKILoad.local_reset,governor.integratorKIGov.local_reset,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (360): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.4908, allocations: 432 kB / 0.7645 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/0.492, allocations: 278.2 kB / 0.7648 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/0.5015, allocations: 2.895 MB / 0.7676 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.5015, allocations: 20 kB / 0.7676 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.5015, allocations: 0 / 0.7676 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.5015, allocations: 15.95 kB / 0.7676 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.5178, allocations: 5.539 MB / 0.773 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.612e-05/0.5179, allocations: 12 kB / 0.7731 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/0.5214, allocations: 0.5231 MB / 0.7736 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.5234, allocations: 0.577 MB / 0.7741 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.5237, allocations: 51.97 kB / 0.7742 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.5401, allocations: 8.208 MB / 0.7822 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5401, allocations: 4 kB / 0.7822 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/0.5551, allocations: 4.51 MB / 0.7866 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/0.5573, allocations: 0.5365 MB / 0.7871 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009146/0.5582, allocations: 55.98 kB / 0.7872 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.5606, allocations: 155.8 kB / 0.7873 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007672/0.5613, allocations: 236.7 kB / 0.7876 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/0.5616, allocations: 63.97 kB / 0.7876 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003786/0.5653, allocations: 1.654 MB / 0.7892 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5653, allocations: 3.938 kB / 0.7892 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005191/0.5705, allocations: 1.397 MB / 0.7906 GB, free: 4.047 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (generatorSynchronous.omegaPu,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 (168): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.45/1.021, allocations: 5.593 MB / 0.7961 GB, free: 142.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.035, allocations: 6.88 MB / 0.8028 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.035, allocations: 1.375 kB / 0.8028 GB, free: 140.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004542/1.039, allocations: 2.109 MB / 0.8048 GB, free: 139.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.042, allocations: 367.3 kB / 0.8052 GB, free: 139.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05746/1.099, allocations: 26.76 MB / 0.8313 GB, free: 125.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.101, allocations: 1.098 MB / 0.8324 GB, free: 124.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002114/1.103, allocations: 386 kB / 0.8328 GB, free: 124 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.104, allocations: 1.04 MB / 0.8338 GB, free: 123.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/1.104, allocations: 0 / 0.8338 GB, free: 123.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.261, allocations: 81.54 MB / 0.9134 GB, free: 42.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.7, allocations: 7.578 kB / 0.9134 GB, free: 42.16 MB / 0.6231 GB " [Timeout remaining time 640] (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: 23.715574461966753] Failed to read output from testmodel.py, exit status != 0: 19.93540710117668 19.946311764 19.692606707 Calling exit ...