Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.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.001894/0.001894, allocations: 76.22 kB / 20.53 MB, free: 1.109 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.002309/0.002309, allocations: 167.6 kB / 23.78 MB, free: 4.188 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.35/1.35, allocations: 158.6 MB / 185.5 MB, free: 6.516 MB / 174.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.6231/0.6231, allocations: 85.32 MB / 323.1 MB, free: 6.691 MB / 302.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.WT4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4B.injector.PInjPu|WT4B.injector.QInjPu|WT4B.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WT4BCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WT4B.injector.PInjPu|WT4B.injector.QInjPu|WT4B.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource") [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.003506/0.003506, allocations: 75.73 kB / 0.4924 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1573, allocations: 78.76 MB / 0.5693 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4BCurrentSource): time 0.01205/0.1693, allocations: 8.575 MB / 0.5777 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009943/0.1792, allocations: 4.783 MB / 0.5824 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.181, allocations: 55.62 kB / 0.5824 GB, free: 13.12 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.001751/0.1828, allocations: 0.5805 MB / 0.583 GB, free: 12.54 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.00258/0.1854, allocations: 0.7091 MB / 0.5837 GB, free: 11.83 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.004728/0.1901, allocations: 2.024 MB / 0.5856 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.1951, allocations: 3.028 MB / 0.5886 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.1968, allocations: 0.6835 MB / 0.5893 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1988, allocations: 1.144 MB / 0.5904 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.2009, allocations: 1.1 MB / 0.5915 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007747/0.2017, allocations: 332 kB / 0.5918 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.2029, allocations: 0.5779 MB / 0.5923 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.2036, allocations: 0.6969 MB / 0.593 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.2047, allocations: 1.026 MB / 0.594 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.2098, allocations: 4.106 MB / 0.598 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2098, allocations: 0 / 0.598 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2099, allocations: 3.938 kB / 0.598 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001048/0.21, allocations: 0 / 0.598 GB, free: 13.04 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: 413 * Number of variables: 413 Notification: Performance of Generate backend data structure: time 0.01013/0.2201, allocations: 3.462 MB / 0.6014 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2201, allocations: 12.92 kB / 0.6014 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/0.2247, allocations: 0.7408 MB / 0.6022 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.2283, allocations: 1.574 MB / 0.6037 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008066/0.2291, allocations: 0.8315 MB / 0.6045 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000585/0.2297, allocations: 171.9 kB / 0.6047 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.2356, allocations: 2.35 MB / 0.607 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.2356, allocations: 12 kB / 0.607 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.2358, allocations: 68 kB / 0.607 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.2359, allocations: 40 kB / 0.6071 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/0.2407, allocations: 1.864 MB / 0.6089 GB, free: 1.516 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.0128/0.2535, allocations: 6.255 MB / 0.615 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/0.259, allocations: 1.874 MB / 0.6168 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.2613, allocations: 0.8167 MB / 0.6176 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.2615, allocations: 24.98 kB / 0.6177 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/0.2646, allocations: 1.301 MB / 0.6189 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=149): time 4.319e-06/0.2646, allocations: 0 / 0.6189 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=149): time 0.009775/0.2744, allocations: 3.098 MB / 0.622 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.2746, allocations: 264.6 kB / 0.6222 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/0.2779, allocations: 1.863 MB / 0.624 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003915/0.2783, allocations: 61.7 kB / 0.6241 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/0.2793, allocations: 0.9616 MB / 0.625 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006976/0.28, allocations: 0.5154 MB / 0.6255 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.2808, allocations: 423.9 kB / 0.6259 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2809, allocations: 305.1 kB / 0.6262 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/0.2833, allocations: 1.003 MB / 0.6272 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.2862, allocations: 1.506 MB / 0.6287 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/0.3041, allocations: 5.107 MB / 0.6337 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.3041, allocations: 4 kB / 0.6337 GB, free: 7.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.008836/0.313, allocations: 3.038 MB / 0.6366 GB, free: 4.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.3131, allocations: 45.69 kB / 0.6367 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.3131, allocations: 8 kB / 0.6367 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.3137, allocations: 324.8 kB / 0.637 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.3164, allocations: 487.2 kB / 0.6375 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-05/0.3164, allocations: 19.98 kB / 0.6375 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.3184, allocations: 258.7 kB / 0.6377 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/0.3187, allocations: 75.98 kB / 0.6378 GB, free: 3.293 MB / 0.545 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00378/0.3225, allocations: 1.482 MB / 0.6392 GB, free: 1.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003092/0.3256, allocations: 1.495 MB / 0.6407 GB, free: 156 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01838/0.344, allocations: 5.088 MB / 0.6457 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.756e-05/0.344, allocations: 3.938 kB / 0.6457 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=286) (initialization_lambda0): time 0.008647/0.3526, allocations: 3.011 MB / 0.6486 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.3527, allocations: 49.62 kB / 0.6487 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3527, allocations: 8 kB / 0.6487 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.3532, allocations: 317.2 kB / 0.649 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.3558, allocations: 479.3 kB / 0.6494 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.215e-05/0.3558, allocations: 19.94 kB / 0.6494 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.3578, allocations: 239 kB / 0.6497 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.3581, allocations: 79.98 kB / 0.6498 GB, free: 6.73 MB / 0.5606 GB Warning: Assuming fixed start value for the following 23 variables: WT4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4B.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 WT4B.line.running.value:DISCRETE(flow=false start = WT4B.line.Running0 fixed = true ) type: Boolean WT4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4B.wecc_reec.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WT4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WT4B.injector.running.value:DISCRETE(flow=false start = WT4B.injector.Running0 fixed = true ) type: Boolean WT4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WT4B.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: 31 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.WT4B.injector.state,WT4B.injector.state,$PRE.WT4B.line.state,WT4B.line.state,$PRE.line.state,line.state,WT4B.injector.switchOffSignal3.value,WT4B.injector.switchOffSignal2.value,WT4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WT4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WT4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.WT4B.line.running.value,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WT4B.wecc_regc.offDelay.delaySignal,$PRE.WT4B.wecc_regc.offDelay.tNext,$PRE.WT4B.injector.running.value,WT4B.wecc_regc.Qinj0PuNeg.k,WT4B.wecc_regc.QInj0PuPos.k,$PRE.WT4B.wecc_regc.offDelay.u,$PRE.WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.injector.running.value,WT4B.wecc_regc.and2.y,WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WT4B.pll.limIntegrator.local_reset,WT4B.pll.integrator.local_reset,WT4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WT4B.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 (269): * Single equations (assignments): 267 * 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.0009411/0.359, allocations: 423.1 kB / 0.6502 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006431/0.3597, allocations: 218.6 kB / 0.6504 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/0.3665, allocations: 2.416 MB / 0.6527 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.3666, allocations: 19.94 kB / 0.6527 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.3666, allocations: 8 kB / 0.6527 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.3666, allocations: 7.969 kB / 0.6528 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.3775, allocations: 4.283 MB / 0.6569 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.3775, allocations: 4 kB / 0.6569 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/0.3797, allocations: 323.9 kB / 0.6573 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.3803, allocations: 312.7 kB / 0.6576 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.3805, allocations: 47.91 kB / 0.6576 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.3805, allocations: 8 kB / 0.6576 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3805, allocations: 4 kB / 0.6576 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009876/0.3904, allocations: 3.771 MB / 0.6613 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.3919, allocations: 454.1 kB / 0.6617 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.3924, allocations: 55.92 kB / 0.6618 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.3941, allocations: 135.8 kB / 0.6619 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/0.3947, allocations: 192.9 kB / 0.6621 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/0.3949, allocations: 59.97 kB / 0.6621 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002864/0.3977, allocations: 1.214 MB / 0.6633 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3977, allocations: 0 / 0.6633 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003461/0.4012, allocations: 0.9237 MB / 0.6642 GB, free: 7.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 (WT4B.wecc_reec.firstOrder.y,WT4B.wecc_reec.firstOrder1.y,WT4B.wecc_reec.limPIDFreeze.I.y,WT4B.wecc_reec.varLimPIDFreeze.I.y,WT4B.wecc_reec.rateLimFirstOrderFreeze1.y,WT4B.wecc_reec.slewRateLimiter.y,WT4B.wecc_reec.rateLimFirstOrderFreeze.y,WT4B.wecc_regc.rateLimFirstOrderFreeze2.y,WT4B.wecc_regc.rateLimFirstOrderFreeze1.y,WT4B.wecc_regc.firstOrder.y,WT4B.pll.integrator.y,WT4B.pll.limIntegrator.y) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,WT4B.line.running.value,WT4B.line.state,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_regc.offDelay.u,WT4B.wecc_regc.offDelay.delaySignal,WT4B.wecc_regc.offDelay.tNext,WT4B.wecc_regc.and1.u[2],WT4B.wecc_regc.and1.y,WT4B.wecc_regc.and2.y,WT4B.injector.running.value,WT4B.injector.state) * Number of discrete states: 9 (WT4B.injector.running.value,WT4B.line.running.value,line.running.value,WT4B.wecc_regc.offDelay.u,WT4B.wecc_reec.currentLimitsCalculation1.vDip,WT4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WT4B.wecc_reec.iqInjectionLogic.vDip,WT4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 140 * 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.001954/0.4032, allocations: 498 kB / 0.6647 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009679/0.4128, allocations: 3.765 MB / 0.6684 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.4129, allocations: 4 kB / 0.6684 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/0.4162, allocations: 1.2 MB / 0.6696 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.4185, allocations: 315 kB / 0.6699 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4289, allocations: 4.338 MB / 0.6741 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4303, allocations: 0.9034 MB / 0.675 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001715/0.4321, allocations: 289.3 kB / 0.6753 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.4327, allocations: 148.5 kB / 0.6754 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.4327, allocations: 0 / 0.6754 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.3044/0.7371, allocations: 28.47 MB / 0.7032 GB, free: 110.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WT4BCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WT4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.021580573986284]