Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.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.001359/0.001359, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001573/0.001573, allocations: 214.5 kB / 23.01 MB, free: 4.992 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.613/1.613, 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.7205/0.7205, allocations: 115.9 MB / 402 MB, free: 15.98 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.GovSteam1St4b2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteam1St4b2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteam1St4b2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteam1St4b2",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.003645/0.003645, allocations: 74.27 kB / 0.5686 GB, free: 41.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2178, allocations: 79.03 MB / 0.6458 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovSteam1St4b2): time 0.0199/0.2377, allocations: 8.581 MB / 0.6541 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.2538, allocations: 5.5 MB / 0.6595 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.2563, allocations: 31.81 kB / 0.6596 GB, free: 13.98 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.002743/0.2591, allocations: 435.9 kB / 0.66 GB, free: 13.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.003139/0.2622, allocations: 0.6014 MB / 0.6606 GB, free: 12.95 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.006776/0.269, allocations: 2.289 MB / 0.6628 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005087/0.2741, allocations: 2.916 MB / 0.6656 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009729/0.275, allocations: 425.4 kB / 0.666 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.2771, allocations: 1.105 MB / 0.6671 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.279, allocations: 1.123 MB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.2795, allocations: 280 kB / 0.6685 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.2815, allocations: 0.8198 MB / 0.6693 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006269/0.2822, allocations: 0.5879 MB / 0.6699 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.2832, allocations: 0.9366 MB / 0.6708 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.2886, allocations: 3.6 MB / 0.6743 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2886, allocations: 0 / 0.6743 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.388e-06/0.2886, allocations: 7.938 kB / 0.6743 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.301e-05/0.2887, allocations: 4 kB / 0.6743 GB, free: 14.81 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.0105/0.2992, allocations: 3.354 MB / 0.6776 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.2992, allocations: 12.92 kB / 0.6776 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003219/0.2996, allocations: 227.6 kB / 0.6778 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.3014, allocations: 435.1 kB / 0.6782 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.3041, allocations: 1.197 MB / 0.6794 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009175/0.305, allocations: 0.8923 MB / 0.6803 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.3053, allocations: 163.9 kB / 0.6804 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.3095, allocations: 2.245 MB / 0.6826 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.3096, allocations: 0 / 0.6826 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.3097, allocations: 63.98 kB / 0.6827 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.3098, allocations: 36 kB / 0.6827 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/0.3137, allocations: 1.732 MB / 0.6844 GB, free: 3.988 MB / 0.5137 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.01338/0.3271, allocations: 6.202 MB / 0.6905 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005151/0.3323, allocations: 1.898 MB / 0.6923 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3343, allocations: 0.8601 MB / 0.6931 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3345, allocations: 49.3 kB / 0.6932 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/0.3372, allocations: 1.221 MB / 0.6944 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 5.451e-06/0.3372, allocations: 0 / 0.6944 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190): time 0.01354/0.3507, allocations: 3.816 MB / 0.6981 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003099/0.351, allocations: 444.6 kB / 0.6985 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.3541, allocations: 1.719 MB / 0.7002 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.3545, allocations: 73.7 kB / 0.7003 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.3553, allocations: 0.7739 MB / 0.701 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008678/0.3561, allocations: 0.6974 MB / 0.7017 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008461/0.357, allocations: 494.2 kB / 0.7022 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3571, allocations: 302.9 kB / 0.7025 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.3596, allocations: 1.227 MB / 0.7037 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/0.3627, allocations: 1.905 MB / 0.7055 GB, free: 13.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/0.3781, allocations: 6.029 MB / 0.7114 GB, free: 7.516 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.3782, allocations: 0 / 0.7114 GB, free: 7.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.009965/0.3881, allocations: 3.875 MB / 0.7152 GB, free: 3.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.3883, allocations: 131.3 kB / 0.7153 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-05/0.3884, allocations: 19.98 kB / 0.7154 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.3902, allocations: 0.6004 MB / 0.7159 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.3934, allocations: 0.5384 MB / 0.7165 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.4087, allocations: 8.503 MB / 0.7248 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.4114, allocations: 342 kB / 0.7251 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/0.4118, allocations: 99.98 kB / 0.7252 GB, free: 8.863 MB / 0.5606 GB Warning: Assuming fixed start value for the following 19 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean generatorSynchronous.omegaPu:VARIABLE(flow=false start = 1.0 unit = \"1\" fixed = true ) \"Angular frequency in pu\" type: Real generatorSynchronous.lambdaDPu:VARIABLE(start = generatorSynchronous.LambdaD0Pu unit = \"1\" fixed = true ) \"Flux of direct axis damper in pu\" type: Real generatorSynchronous.lambdafPu:VARIABLE(start = generatorSynchronous.Lambdaf0Pu unit = \"1\" fixed = true ) \"Flux of excitation winding in pu\" type: Real generatorSynchronous.lambdaQ1Pu:VARIABLE(start = generatorSynchronous.LambdaQ10Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 1st damper in pu\" type: Real generatorSynchronous.lambdaQ2Pu:VARIABLE(start = generatorSynchronous.LambdaQ20Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 2nd damper in pu\" type: Real generatorSynchronous.theta:VARIABLE(flow=false start = generatorSynchronous.Theta0 unit = \"rad\" fixed = true ) \"Rotor angle: angle between machine rotor frame and port phasor frame\" type: Real governor.backlashHysteresis.aux:DISCRETE(start = governor.backlashHysteresis.Aux0 fixed = true ) \"Auxiliary variable to stabilize y when the derivative of u changes\" type: Real governor.backlashHysteresis.h:DISCRETE(start = governor.backlashHysteresis.H0 fixed = true ) \"Boolean to detect changes of behaviour of u\" type: Boolean governor.firstOrder.y:VARIABLE(flow=false start = governor.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.firstOrder1.y:VARIABLE(flow=false start = governor.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.firstOrder2.y:VARIABLE(flow=false start = governor.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.firstOrder3.y:VARIABLE(flow=false start = governor.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.transferFunction.x_scaled[1]:VARIABLE(start = governor.transferFunction.X0[1] * governor.transferFunction.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: 31 * Number of states: 0 () * Number of discrete variables: 39 ($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,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset,governor.limitedIntegrator.local_reset,$PRE.generatorSynchronous.running.value,$PRE.governor.backlashHysteresis.aux,$PRE.governor.backlashHysteresis.h,$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,governor.backlashHysteresis.h,governor.backlashHysteresis.aux,generatorSynchronous.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * 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.001347/0.4131, allocations: 0.5411 MB / 0.7257 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.4136, allocations: 210.6 kB / 0.7259 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/0.4211, allocations: 2.56 MB / 0.7284 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.4211, allocations: 20 kB / 0.7284 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.4212, allocations: 7.938 kB / 0.7284 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.4212, allocations: 7.969 kB / 0.7285 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.433, allocations: 4.879 MB / 0.7332 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-05/0.4331, allocations: 16.03 kB / 0.7332 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/0.4357, allocations: 363.5 kB / 0.7336 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.4375, allocations: 0.5814 MB / 0.7342 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/0.4378, allocations: 47.97 kB / 0.7342 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/0.4521, allocations: 8.208 MB / 0.7422 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4521, allocations: 8.312 kB / 0.7422 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.4628, allocations: 3.999 MB / 0.7461 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.4644, allocations: 438.1 kB / 0.7465 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.4647, allocations: 51.98 kB / 0.7466 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.4661, allocations: 131.9 kB / 0.7467 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/0.4668, allocations: 213.2 kB / 0.7469 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.4669, allocations: 51.98 kB / 0.747 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00196/0.4689, allocations: 1.129 MB / 0.7481 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4689, allocations: 0 / 0.7481 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002531/0.4714, allocations: 0.7526 MB / 0.7488 GB, free: 36 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (generatorSynchronous.omegaPu,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.firstOrder.y,governor.firstOrder1.y,governor.firstOrder2.y,governor.firstOrder3.y,governor.limitedIntegrator.y,governor.transferFunction.x_scaled[1],avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y) * Number of discrete variables: 21 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,governor.backlashHysteresis.aux,governor.backlashHysteresis.h,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: 8 (load.running.value,generatorSynchronous.running.value,governor.backlashHysteresis.h,governor.backlashHysteresis.aux,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 (143): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * 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.01234/0.4838, allocations: 5.091 MB / 0.7538 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008445/0.4922, allocations: 3.572 MB / 0.7573 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.4922, allocations: 5.812 kB / 0.7573 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004781/0.497, allocations: 1.954 MB / 0.7592 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.499, allocations: 279.5 kB / 0.7594 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3981/0.8971, allocations: 21.18 MB / 0.7801 GB, free: 129.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.8981, allocations: 0.8335 MB / 0.781 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001409/0.8995, allocations: 221.5 kB / 0.7812 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.9006, allocations: 0.778 MB / 0.7819 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.452e-06/0.9006, allocations: 0 / 0.7819 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.03, allocations: 60.4 MB / 0.8409 GB, free: 86.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.85, allocations: 0 / 0.8409 GB, free: 86.35 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteam1St4b2.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteam1St4b2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.033203850965947] Failed to read output from testmodel.py, exit status != 0: 18.06533431261778 18.079989213 17.787980136 Calling exit ...