Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.001252/0.001252, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.001569/0.001569, allocations: 223.2 kB / 23.8 MB, free: 4.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.428/1.428, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.6374/0.6374, allocations: 113.7 MB / 400.6 MB, free: 17.53 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 -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="cs",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.0035/0.0035, allocations: 70.58 kB / 0.567 GB, free: 42.96 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1558, allocations: 78.51 MB / 0.6437 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01589/0.1717, allocations: 11.23 MB / 0.6546 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1847, allocations: 6.088 MB / 0.6606 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.1879, allocations: 83.44 kB / 0.6607 GB, free: 13.31 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: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.003046/0.191, allocations: 0.7475 MB / 0.6614 GB, free: 12.56 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'. Notification: Performance of NFTyping.typeBindings: time 0.004483/0.1954, allocations: 0.943 MB / 0.6623 GB, free: 11.61 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007682/0.2031, allocations: 2.966 MB / 0.6652 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00896/0.2121, allocations: 4.532 MB / 0.6696 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003794/0.2159, allocations: 1.126 MB / 0.6707 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.2197, allocations: 1.697 MB / 0.6724 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/0.2233, allocations: 1.769 MB / 0.6741 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.2247, allocations: 496 kB / 0.6746 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.2271, allocations: 0.7811 MB / 0.6753 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.2287, allocations: 0.9967 MB / 0.6763 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.2313, allocations: 1.477 MB / 0.6778 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008921/0.2402, allocations: 6.013 MB / 0.6836 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2402, allocations: 0 / 0.6836 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2402, allocations: 0 / 0.6836 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001965/0.2404, allocations: 4 kB / 0.6836 GB, free: 5.648 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01501/0.2554, allocations: 4.739 MB / 0.6883 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2555, allocations: 15.97 kB / 0.6883 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.721e-05/0.2555, allocations: 56.69 kB / 0.6883 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005551/0.2561, allocations: 333 kB / 0.6887 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.261, allocations: 0.9197 MB / 0.6896 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.266, allocations: 2.326 MB / 0.6918 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000883/0.2669, allocations: 0.9165 MB / 0.6927 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/0.2675, allocations: 236 kB / 0.6929 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006974/0.2745, allocations: 3.482 MB / 0.6963 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.2745, allocations: 3.938 kB / 0.6963 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.2748, allocations: 100 kB / 0.6964 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.2748, allocations: 56 kB / 0.6965 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00651/0.2813, allocations: 2.665 MB / 0.6991 GB, free: 5.191 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.01797/0.2993, allocations: 9.349 MB / 0.7082 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/0.306, allocations: 2.566 MB / 0.7107 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.3086, allocations: 1.173 MB / 0.7119 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3089, allocations: 33.98 kB / 0.7119 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003913/0.3128, allocations: 1.796 MB / 0.7137 GB, free: 6.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=202): time 5.46e-06/0.3128, allocations: 0 / 0.7137 GB, free: 6.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=202): time 0.01234/0.3251, allocations: 4.26 MB / 0.7178 GB, free: 1.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003085/0.3254, allocations: 496.6 kB / 0.7183 GB, free: 1.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/0.3316, allocations: 2.951 MB / 0.7212 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006152/0.3322, allocations: 77.7 kB / 0.7213 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.3339, allocations: 1.362 MB / 0.7226 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.3351, allocations: 0.7091 MB / 0.7233 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.3369, allocations: 0.5886 MB / 0.7239 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.337, allocations: 313.1 kB / 0.7242 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.3405, allocations: 1.447 MB / 0.7256 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004259/0.3448, allocations: 2.345 MB / 0.7279 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/0.3681, allocations: 7.128 MB / 0.7348 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.3681, allocations: 8 kB / 0.7348 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01132/0.3794, allocations: 4.251 MB / 0.739 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3796, allocations: 87.38 kB / 0.7391 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.3796, allocations: 8 kB / 0.7391 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.3802, allocations: 321.2 kB / 0.7394 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.384, allocations: 0.6787 MB / 0.74 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.251e-05/0.384, allocations: 31.94 kB / 0.7401 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.3874, allocations: 413.9 kB / 0.7405 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005478/0.388, allocations: 108 kB / 0.7406 GB, free: 9.715 MB / 0.5762 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005654/0.3936, allocations: 2.053 MB / 0.7426 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004266/0.3979, allocations: 2.287 MB / 0.7448 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0237/0.4216, allocations: 6.98 MB / 0.7516 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.441e-05/0.4216, allocations: 4 kB / 0.7516 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.01139/0.433, allocations: 4.146 MB / 0.7557 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.4332, allocations: 87.38 kB / 0.7558 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.4332, allocations: 11.94 kB / 0.7558 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/0.4337, allocations: 328.9 kB / 0.7561 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.4373, allocations: 0.6553 MB / 0.7567 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-05/0.4374, allocations: 31.92 kB / 0.7568 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.4407, allocations: 358.7 kB / 0.7571 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005928/0.4413, allocations: 111.9 kB / 0.7572 GB, free: 8.117 MB / 0.5919 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,WTG4B.wecc_regc.QInj0PuPos.k,WTG4B.wecc_regc.and1.u[1],WTG4B.wecc_regc.QInj0PuPos.y,WTG4B.wecc_regc.Qinj0PuNeg.k,WTG4B.wecc_regc.and2.u[2],WTG4B.wecc_regc.Qinj0PuNeg.y,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001622/0.4429, allocations: 0.5066 MB / 0.7577 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/0.4443, allocations: 341.8 kB / 0.758 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009664/0.454, allocations: 3.299 MB / 0.7612 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.454, allocations: 20 kB / 0.7613 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.454, allocations: 3.938 kB / 0.7613 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/0.454, allocations: 11.95 kB / 0.7613 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.4703, allocations: 6.421 MB / 0.7675 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4703, allocations: 0 / 0.7675 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/0.4734, allocations: 451.9 kB / 0.768 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005391/0.4739, allocations: 316.7 kB / 0.7683 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003778/0.4743, allocations: 55.97 kB / 0.7683 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.631e-05/0.4743, allocations: 12 kB / 0.7683 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.4743, allocations: 15.92 kB / 0.7684 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.4872, allocations: 5.175 MB / 0.7734 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/0.4892, allocations: 0.6692 MB / 0.7741 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009019/0.4901, allocations: 71.98 kB / 0.7741 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.4925, allocations: 207.8 kB / 0.7743 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005857/0.4931, allocations: 233.4 kB / 0.7746 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/0.4934, allocations: 75.91 kB / 0.7746 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003845/0.4972, allocations: 1.94 MB / 0.7765 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4972, allocations: 0 / 0.7765 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004207/0.5014, allocations: 1.248 MB / 0.7777 GB, free: 2.836 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3325/0.8339, allocations: 6.13 MB / 0.7837 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01073/0.8447, allocations: 5.364 MB / 0.789 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.8447, allocations: 2.656 kB / 0.789 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00348/0.8482, allocations: 1.721 MB / 0.7906 GB, free: 128.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.8509, allocations: 483.2 kB / 0.7911 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06092/0.9118, allocations: 28.52 MB / 0.819 GB, free: 111.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.9132, allocations: 1.271 MB / 0.8202 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002405/0.9156, allocations: 441.6 kB / 0.8206 GB, free: 110.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.9173, allocations: 1.327 MB / 0.8219 GB, free: 108.9 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.9173, allocations: 0 / 0.8219 GB, free: 108.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.048, allocations: 73.46 MB / 0.8937 GB, free: 35.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/19.65, allocations: 11.38 kB / 0.8937 GB, free: 35.81 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 30.008528491016477]