Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.001372/0.001372, allocations: 77.08 kB / 20.57 MB, free: 1.086 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.001542/0.001542, allocations: 165.1 kB / 23.83 MB, free: 4.16 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.296/1.296, allocations: 158.6 MB / 185.6 MB, free: 6.492 MB / 174.1 MB " [Timeout remaining time 179] 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.6232/0.6232, allocations: 88.33 MB / 326.2 MB, free: 4.289 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) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|URef.y|Unit.wecc_repc.QVCtrlErr.y|Unit.measurements.UPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|URef.y|Unit.wecc_repc.QVCtrlErr.y|Unit.measurements.UPu|Unit.measurements.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") [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.002285/0.002285, allocations: 75.2 kB / 0.4929 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 79.82 MB / 0.5709 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01882/0.1463, allocations: 13.98 MB / 0.5845 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.1606, allocations: 7.307 MB / 0.5917 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.1634, allocations: 111.2 kB / 0.5918 GB, free: 3.453 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:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/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). Notification: Performance of NFTyping.typeComponents: time 0.002525/0.166, allocations: 0.9652 MB / 0.5927 GB, free: 2.48 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.003936/0.1699, allocations: 1.253 MB / 0.5939 GB, free: 1.219 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:82:3-82:98:writable] Warning: In relation Modelica.ComplexMath.'abs'(INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.008095/0.178, allocations: 3.663 MB / 0.5975 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008515/0.1865, allocations: 5.836 MB / 0.6032 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.1899, allocations: 1.363 MB / 0.6045 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.1932, allocations: 2.167 MB / 0.6067 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.196, allocations: 2.059 MB / 0.6087 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009324/0.197, allocations: 0.6289 MB / 0.6093 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1984, allocations: 0.9138 MB / 0.6102 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.1997, allocations: 1.32 MB / 0.6115 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002747/0.2025, allocations: 1.923 MB / 0.6133 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00941/0.2119, allocations: 7.749 MB / 0.6209 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2119, allocations: 0 / 0.6209 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2119, allocations: 0 / 0.6209 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001147/0.212, allocations: 0 / 0.6209 GB, free: 5.477 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.01553/0.2275, allocations: 5.924 MB / 0.6267 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2276, allocations: 8.031 kB / 0.6267 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.2326, allocations: 1.052 MB / 0.6277 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005797/0.2384, allocations: 3.08 MB / 0.6307 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.2394, allocations: 1.089 MB / 0.6318 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005864/0.24, allocations: 307.9 kB / 0.6321 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008518/0.2485, allocations: 4.425 MB / 0.6364 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.2486, allocations: 7.938 kB / 0.6364 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.2489, allocations: 128 kB / 0.6366 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.249, allocations: 72 kB / 0.6366 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007849/0.2568, allocations: 3.3 MB / 0.6398 GB, free: 1.43 MB / 0.545 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.02154/0.2784, allocations: 11.94 MB / 0.6515 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008194/0.2866, allocations: 3.172 MB / 0.6546 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.29, allocations: 1.461 MB / 0.656 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.2902, allocations: 41.98 kB / 0.6561 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004283/0.2945, allocations: 2.024 MB / 0.658 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=251): time 5.601e-06/0.2945, allocations: 0 / 0.658 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.01376/0.3082, allocations: 5.05 MB / 0.663 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003774/0.3086, allocations: 0.572 MB / 0.6635 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006577/0.3152, allocations: 3.529 MB / 0.667 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006212/0.3158, allocations: 89.69 kB / 0.6671 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.3178, allocations: 1.841 MB / 0.6689 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.3191, allocations: 0.8989 MB / 0.6697 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.3205, allocations: 0.7001 MB / 0.6704 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3206, allocations: 313 kB / 0.6707 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004102/0.3247, allocations: 1.739 MB / 0.6724 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005001/0.3297, allocations: 2.877 MB / 0.6752 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02771/0.3574, allocations: 8.533 MB / 0.6836 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.3574, allocations: 4 kB / 0.6836 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.2681/0.6255, allocations: 5.043 MB / 0.6885 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/0.6256, allocations: 59.95 kB / 0.6885 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.6256, allocations: 12.73 kB / 0.6886 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.6261, allocations: 335.5 kB / 0.6889 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006232/0.6323, allocations: 1.311 MB / 0.6902 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.616e-05/0.6324, allocations: 37.05 kB / 0.6902 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.6354, allocations: 471.5 kB / 0.6906 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.6357, allocations: 130.6 kB / 0.6908 GB, free: 104.9 MB / 0.5919 GB Warning: Assuming fixed start value for the following 35 variables: Unit.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running.value:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running.value:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) type: Boolean Unit.line.running.value:DISCRETE(flow=false start = Unit.line.Running0 fixed = true ) type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004514/0.6402, allocations: 2.51 MB / 0.6932 GB, free: 104.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003442/0.6437, allocations: 2.819 MB / 0.696 GB, free: 102.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02515/0.6688, allocations: 8.383 MB / 0.7042 GB, free: 99.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-05/0.6688, allocations: 2.938 kB / 0.7042 GB, free: 99.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=489) (initialization_lambda0): time 0.01112/0.68, allocations: 4.952 MB / 0.709 GB, free: 97.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.68, allocations: 58.19 kB / 0.7091 GB, free: 97.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.68, allocations: 11.72 kB / 0.7091 GB, free: 97.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.6804, allocations: 324 kB / 0.7094 GB, free: 97.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/0.6857, allocations: 1.298 MB / 0.7106 GB, free: 97.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.252e-05/0.6857, allocations: 37.81 kB / 0.7107 GB, free: 97.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.6886, allocations: 454.5 kB / 0.7111 GB, free: 97.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.6888, allocations: 130.8 kB / 0.7112 GB, free: 97.09 MB / 0.5919 GB Warning: Assuming fixed start value for the following 35 variables: Unit.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running.value:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running.value:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) type: Boolean Unit.line.running.value:DISCRETE(flow=false start = Unit.line.Running0 fixed = true ) type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.Unit.line.state,Unit.line.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2.value,Xcc_a.switchOffSignal1.value,Unit.injector.switchOffSignal3.value,Unit.injector.switchOffSignal2.value,Unit.injector.switchOffSignal1.value,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Xcc_a.running.value,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running.value,$PRE.Unit.line.running.value,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_regc.Qinj0PuNeg.k,Unit.wecc_regc.QInj0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.line.running.value,Unit.injector.running.value,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Xcc_a.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 463 * 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.0009113/0.6897, allocations: 0.5427 MB / 0.7118 GB, free: 96.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/0.6903, allocations: 414.9 kB / 0.7122 GB, free: 96.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008171/0.6985, allocations: 3.839 MB / 0.7159 GB, free: 95.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.6985, allocations: 17.67 kB / 0.7159 GB, free: 95.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6985, allocations: 4 kB / 0.7159 GB, free: 95.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.7003, allocations: 0.7966 MB / 0.7167 GB, free: 94.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.7008, allocations: 79.42 kB / 0.7168 GB, free: 94.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/0.7029, allocations: 265.1 kB / 0.717 GB, free: 94.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/0.7034, allocations: 269.3 kB / 0.7173 GB, free: 94.61 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008412/0.7118, allocations: 3.954 MB / 0.7212 GB, free: 91.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009581/0.7214, allocations: 5.79 MB / 0.7268 GB, free: 86.03 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002936/0.7243, allocations: 1.635 MB / 0.7284 GB, free: 84.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002911/0.7272, allocations: 2.307 MB / 0.7307 GB, free: 82.11 MB / 0.5919 GB Notification: Performance of Backend: time 3.2e-07/0.7272, allocations: 3.828 kB / 0.7307 GB, free: 82.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0123/0.7395, allocations: 5.508 MB / 0.736 GB, free: 76.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009261/0.7488, allocations: 7.302 MB / 0.7432 GB, free: 69.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.1028/0.8516, allocations: 80.08 MB / 0.8214 GB, free: 5.645 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.880542693892494]