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.001519/0.001519, allocations: 96.36 kB / 20.46 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.001693/0.001693, allocations: 218.5 kB / 23.77 MB, free: 4.52 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.725/1.725, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.719/0.719, allocations: 115.8 MB / 402.6 MB, free: 16.07 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: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [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.002397/0.002397, allocations: 76.14 kB / 0.5704 GB, free: 41.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2183, allocations: 79.01 MB / 0.6476 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01909/0.2374, allocations: 11.28 MB / 0.6586 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.253, allocations: 6.138 MB / 0.6646 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004991/0.258, allocations: 87.38 kB / 0.6647 GB, free: 9.477 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.003561/0.2616, allocations: 0.7399 MB / 0.6654 GB, free: 8.734 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.005946/0.2675, allocations: 0.9624 MB / 0.6663 GB, free: 7.766 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.00857/0.2761, allocations: 2.969 MB / 0.6692 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009445/0.2855, allocations: 4.567 MB / 0.6737 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/0.2885, allocations: 1.056 MB / 0.6747 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.2922, allocations: 1.693 MB / 0.6764 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.2958, allocations: 1.589 MB / 0.6779 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.2969, allocations: 500 kB / 0.6784 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2989, allocations: 0.7732 MB / 0.6792 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.3002, allocations: 1.012 MB / 0.6802 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.3025, allocations: 1.484 MB / 0.6816 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.3134, allocations: 6.04 MB / 0.6875 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3134, allocations: 0 / 0.6875 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3134, allocations: 0 / 0.6875 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000194/0.3136, allocations: 3.938 kB / 0.6875 GB, free: 1.977 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.0177/0.3313, allocations: 4.73 MB / 0.6921 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.471e-05/0.3313, allocations: 8.031 kB / 0.6921 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.3365, allocations: 0.9157 MB / 0.693 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/0.3421, allocations: 2.361 MB / 0.6953 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001107/0.3432, allocations: 0.9164 MB / 0.6962 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004844/0.3437, allocations: 236 kB / 0.6965 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/0.3511, allocations: 3.453 MB / 0.6998 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.3512, allocations: 4 kB / 0.6998 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.3514, allocations: 104 kB / 0.6999 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.3515, allocations: 56 kB / 0.7 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/0.3581, allocations: 2.616 MB / 0.7025 GB, free: 1.992 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.02112/0.3792, allocations: 8.996 MB / 0.7113 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007214/0.3864, allocations: 2.54 MB / 0.7138 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002848/0.3893, allocations: 1.151 MB / 0.7149 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3895, allocations: 33.98 kB / 0.715 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003985/0.3935, allocations: 1.687 MB / 0.7166 GB, free: 3.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=203): time 5.56e-06/0.3935, allocations: 0 / 0.7166 GB, free: 3.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=203): time 0.0124/0.4059, allocations: 4.145 MB / 0.7207 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003802/0.4063, allocations: 470.9 kB / 0.7211 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/0.4119, allocations: 2.686 MB / 0.7237 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005816/0.4124, allocations: 77.7 kB / 0.7238 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.4142, allocations: 1.388 MB / 0.7252 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.4153, allocations: 0.7091 MB / 0.7259 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.4165, allocations: 0.5727 MB / 0.7264 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4167, allocations: 309.1 kB / 0.7267 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.4201, allocations: 1.41 MB / 0.7281 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/0.4244, allocations: 2.292 MB / 0.7303 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/0.448, allocations: 6.993 MB / 0.7371 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.448, allocations: 0 / 0.7371 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01142/0.4594, allocations: 4.121 MB / 0.7412 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.4595, allocations: 58.42 kB / 0.7412 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.4595, allocations: 8 kB / 0.7412 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.4601, allocations: 324.7 kB / 0.7415 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.4633, allocations: 0.667 MB / 0.7422 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.624e-05/0.4633, allocations: 31.92 kB / 0.7422 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.4663, allocations: 362.3 kB / 0.7426 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.4666, allocations: 112 kB / 0.7427 GB, free: 7.973 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 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.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005105/0.4717, allocations: 2.026 MB / 0.7447 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004034/0.4757, allocations: 2.229 MB / 0.7468 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02261/0.4983, allocations: 6.841 MB / 0.7535 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.571e-05/0.4983, allocations: 4 kB / 0.7535 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.01074/0.5091, allocations: 4.024 MB / 0.7574 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.5092, allocations: 57.12 kB / 0.7575 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.5092, allocations: 11.98 kB / 0.7575 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.5098, allocations: 316.9 kB / 0.7578 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/0.513, allocations: 0.6475 MB / 0.7584 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.971e-05/0.513, allocations: 35.86 kB / 0.7585 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.5163, allocations: 354.7 kB / 0.7588 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.5166, allocations: 108 kB / 0.7589 GB, free: 6.824 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 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.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean 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.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running.value,WTG4B.wecc_regc.Qinj0PuNeg.k,WTG4B.wecc_regc.QInj0PuPos.k,$PRE.WTG4B.wecc_regc.offDelay.u,$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_regc.offDelay.u,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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,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 (372): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 1 * 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.001302/0.5179, allocations: 491.5 kB / 0.7594 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.5186, allocations: 310 kB / 0.7597 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/0.5274, allocations: 3.191 MB / 0.7628 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.5274, allocations: 20 kB / 0.7628 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.5274, allocations: 0 / 0.7628 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5275, allocations: 11.95 kB / 0.7628 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.5428, allocations: 6.217 MB / 0.7689 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.5429, allocations: 7.938 kB / 0.7689 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/0.5455, allocations: 455.8 kB / 0.7693 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/0.546, allocations: 316.7 kB / 0.7697 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.5462, allocations: 59.97 kB / 0.7697 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/0.5462, allocations: 15.94 kB / 0.7697 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.5462, allocations: 4 kB / 0.7697 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.558, allocations: 5.017 MB / 0.7746 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/0.5603, allocations: 0.6381 MB / 0.7753 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005209/0.5608, allocations: 71.98 kB / 0.7753 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/0.5627, allocations: 211.6 kB / 0.7755 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.5633, allocations: 225.5 kB / 0.7757 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.5634, allocations: 79.91 kB / 0.7758 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00313/0.5666, allocations: 1.752 MB / 0.7775 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5666, allocations: 0 / 0.7775 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003836/0.5704, allocations: 1.298 MB / 0.7788 GB, free: 2.293 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: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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.u,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: 9 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.u,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 (206): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001904/0.5723, allocations: 0.5034 MB / 0.7793 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.4188/0.9911, allocations: 5.134 MB / 0.7843 GB, free: 129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.9911, allocations: 2.344 kB / 0.7843 GB, free: 129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.9947, allocations: 1.582 MB / 0.7858 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.9978, allocations: 470.2 kB / 0.7863 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.011, allocations: 6.203 MB / 0.7923 GB, free: 125.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.013, allocations: 1.279 MB / 0.7936 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.015, allocations: 209.2 kB / 0.7938 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/1.015, allocations: 0 / 0.7938 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.09054/1.105, allocations: 59.07 MB / 0.8515 GB, free: 77.33 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] 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 660] "" Variables in the reference:time,WTG4B.injector.PInjPu,WTG4B.injector.QInjPu,WTG4B.injector.UPu Variables in the result:WTG4B.injector.PInjPu,WTG4B.injector.QInjPu,WTG4B.injector.UPu,time [Calling sys.exit(0), Time elapsed: 14.51126043824479]