Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015.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.001002/0.001002, allocations: 84.44 kB / 20.71 MB, free: 3.848 MB / 18.57 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.0009213/0.0009213, allocations: 169.2 kB / 23.98 MB, free: 0.5742 MB / 18.57 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 0.8441/0.8441, allocations: 158.6 MB / 185.8 MB, free: 3.031 MB / 170.7 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.4543/0.4543, allocations: 90.26 MB / 328.3 MB, free: 15.03 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|wT4BCurrentSource.measurementsPQ.PPu|wT4BCurrentSource.measurementsPQ.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015") translateModel(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|wT4BCurrentSource.measurementsPQ.PPu|wT4BCurrentSource.measurementsPQ.QPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 1.219 kB / 0.5005 GB, free: 16.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.809e-05, allocations: 5.797 kB / 0.5005 GB, free: 16.97 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015): time 0.01591/0.01594, allocations: 19.76 MB / 0.5198 GB, free: 3.574 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.03086, allocations: 10.07 MB / 0.5297 GB, free: 11.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.03446, allocations: 134.6 kB / 0.5298 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.03702, allocations: 1.987 MB / 0.5317 GB, free: 10.4 MB / 458.7 MB [/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.004686/0.04171, allocations: 2.739 MB / 0.5344 GB, free: 8.219 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation transformer.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation transformer.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation transformer.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation transformer.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation transformer1.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation transformer1.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation transformer1.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation transformer1.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007695/0.04941, allocations: 5.273 MB / 0.5396 GB, free: 4.027 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.06099, allocations: 9.862 MB / 0.5492 GB, free: 11.22 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003624/0.06461, allocations: 2.218 MB / 0.5514 GB, free: 8.902 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.06983, allocations: 3.287 MB / 0.5546 GB, free: 5.605 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.0725, allocations: 2.936 MB / 0.5574 GB, free: 2.66 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008498/0.07335, allocations: 1.035 MB / 0.5585 GB, free: 1.625 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.07474, allocations: 1.328 MB / 0.5597 GB, free: 304 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.07605, allocations: 2.636 MB / 0.5623 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.07801, allocations: 2.679 MB / 0.5649 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.08844, allocations: 14.94 MB / 0.5795 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.08845, allocations: 0 / 0.5795 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.224e-06/0.08845, allocations: 0 / 0.5795 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001842/0.08863, allocations: 0 / 0.5795 GB, free: 11.98 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1117 * Number of variables: 1117 Notification: Performance of Generate backend data structure: time 0.01597/0.1046, allocations: 10.93 MB / 0.5902 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1047, allocations: 11.97 kB / 0.5902 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.1088, allocations: 1.899 MB / 0.5921 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/0.1152, allocations: 6.002 MB / 0.5979 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/0.1166, allocations: 2.858 MB / 0.6007 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.1171, allocations: 455.9 kB / 0.6012 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007585/0.1246, allocations: 6.516 MB / 0.6075 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/0.1247, allocations: 11.92 kB / 0.6075 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.125, allocations: 192 kB / 0.6077 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.1251, allocations: 108 kB / 0.6078 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/0.1317, allocations: 4.969 MB / 0.6127 GB, free: 8.84 MB / 0.5261 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.02312/0.1549, allocations: 21.59 MB / 0.6337 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005855/0.1607, allocations: 4.314 MB / 0.638 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.1636, allocations: 2.325 MB / 0.6402 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.1638, allocations: 58.67 kB / 0.6403 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/0.1677, allocations: 3.328 MB / 0.6435 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=415): time 6.543e-06/0.1677, allocations: 0 / 0.6435 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of matching and sorting (n=415): time 0.03174/0.1994, allocations: 15.6 MB / 0.6588 GB, free: 9.129 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/0.1997, allocations: 0.6796 MB / 0.6594 GB, free: 8.301 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/0.2113, allocations: 8.581 MB / 0.6678 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/0.2117, allocations: 125.7 kB / 0.6679 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.003145/0.2149, allocations: 3.588 MB / 0.6714 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.2163, allocations: 1.36 MB / 0.6728 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.2178, allocations: 0.9633 MB / 0.6737 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.2178, allocations: 309.1 kB / 0.674 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/0.2215, allocations: 2.547 MB / 0.6765 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/0.2256, allocations: 4.018 MB / 0.6804 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5174/0.743, allocations: 11.6 MB / 0.6917 GB, free: 151.3 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/0.743, allocations: 10.91 kB / 0.6918 GB, free: 151.3 MB / 0.5887 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01573/0.7588, allocations: 9.012 MB / 0.7006 GB, free: 148 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.7588, allocations: 84.48 kB / 0.7006 GB, free: 147.9 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.7589, allocations: 20.78 kB / 0.7007 GB, free: 147.9 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.763, allocations: 2.414 MB / 0.703 GB, free: 147.2 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.765, allocations: 0.8502 MB / 0.7038 GB, free: 147.1 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/0.7913, allocations: 21.74 MB / 0.7251 GB, free: 133.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/0.7973, allocations: 0.5925 MB / 0.7257 GB, free: 133.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/0.7978, allocations: 189.7 kB / 0.7258 GB, free: 133.7 MB / 0.5887 GB Warning: Assuming fixed start value for the following 31 variables: 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) line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2A.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2A.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2B.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2B.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer1.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.elecSystem.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.elecSystem.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.running:DISCRETE(flow=false start = line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2A.running:DISCRETE(flow=false start = line2A.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2B.running:DISCRETE(flow=false start = line2B.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.running:DISCRETE(flow=false start = line3.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean transformer.running:DISCRETE(flow=false start = transformer.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean transformer1.running:DISCRETE(flow=false start = transformer1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.wT4Injector.running:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.wT4Injector.elecSystem.running:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.elecSystem.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay1.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay1.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.control4B.currentLimiter.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.currentLimiter.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.pControl4B.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.mechanical.Ip0Pu * wT4BCurrentSource.mechanical.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.pControl4B.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.pControl4B.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.qControl.vDrop.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.qControl.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.derivative.x:VARIABLE(start = wT4BCurrentSource.gridProtection.ufMeasurement.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder2.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean nodeFault1.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007327/0.8051, allocations: 4.231 MB / 0.73 GB, free: 131.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003899/0.809, allocations: 3.999 MB / 0.7339 GB, free: 129.1 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01504/0.8241, allocations: 11.56 MB / 0.7452 GB, free: 118.7 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-05/0.8241, allocations: 8 kB / 0.7452 GB, free: 118.7 MB / 0.5887 GB Notification: Performance of matching and sorting (n=691) (initialization_lambda0): time 0.01295/0.837, allocations: 8.985 MB / 0.7539 GB, free: 109.8 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.8371, allocations: 88.34 kB / 0.754 GB, free: 109.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.8371, allocations: 20 kB / 0.7541 GB, free: 109.7 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/0.8404, allocations: 2.426 MB / 0.7564 GB, free: 107.3 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.842, allocations: 0.8384 MB / 0.7572 GB, free: 106.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.8627, allocations: 21.76 MB / 0.7785 GB, free: 84.34 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/0.8671, allocations: 0.5761 MB / 0.7791 GB, free: 83.84 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.8674, allocations: 192 kB / 0.7792 GB, free: 83.65 MB / 0.5887 GB Warning: Assuming fixed start value for the following 31 variables: 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) line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2A.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2A.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2B.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2B.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer1.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.elecSystem.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.elecSystem.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.running:DISCRETE(flow=false start = line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2A.running:DISCRETE(flow=false start = line2A.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2B.running:DISCRETE(flow=false start = line2B.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.running:DISCRETE(flow=false start = line3.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean transformer.running:DISCRETE(flow=false start = transformer.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean transformer1.running:DISCRETE(flow=false start = transformer1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.wT4Injector.running:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.wT4Injector.elecSystem.running:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.elecSystem.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay1.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay1.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.control4B.currentLimiter.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.currentLimiter.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.pControl4B.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.mechanical.Ip0Pu * wT4BCurrentSource.mechanical.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.pControl4B.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.pControl4B.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.qControl.vDrop.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.qControl.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.derivative.x:VARIABLE(start = wT4BCurrentSource.gridProtection.ufMeasurement.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder1.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder2.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.ufMeasurement.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean nodeFault1.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 157 ($PRE.line.state,line.state,$PRE.line1.state,line1.state,$PRE.line2A.state,line2A.state,$PRE.line2B.state,line2B.state,$PRE.line3.state,line3.state,$PRE.transformer.state,transformer.state,$PRE.transformer1.state,transformer1.state,$PRE.wT4BCurrentSource.wT4Injector.elecSystem.state,wT4BCurrentSource.wT4Injector.elecSystem.state,$PRE.wT4BCurrentSource.wT4Injector.state,wT4BCurrentSource.wT4Injector.state,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,transformer1.switchOffSignal2,transformer1.switchOffSignal1,transformer.switchOffSignal2,transformer.switchOffSignal1,line3.switchOffSignal2,line3.switchOffSignal1,line2B.switchOffSignal2,line2B.switchOffSignal1,line2A.switchOffSignal2,line2A.switchOffSignal1,line1.switchOffSignal2,line1.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,wT4BCurrentSource.wT4Injector.switchOffSignal3,wT4BCurrentSource.wT4Injector.switchOffSignal2,wT4BCurrentSource.wT4Injector.switchOffSignal1,$PRE.line.running,$PRE.line1.running,$PRE.line2A.running,$PRE.line2B.running,$PRE.line3.running,$PRE.transformer.running,$PRE.transformer1.running,$PRE.wT4BCurrentSource.wT4Injector.running,$PRE.wT4BCurrentSource.wT4Injector.elecSystem.running,$PRE.wT4BCurrentSource.pll.fixedBooleanDelay1.y,$PRE.wT4BCurrentSource.pll.fixedBooleanDelay.y,$PRE.nodeFault.nodeFault,$PRE.nodeFault1.nodeFault,$PRE.omegaRefPu.count,$PRE.omegaRefPu.T_start,$PRE.wT4BCurrentSource.gridProtection.pre1.u,$PRE.wT4BCurrentSource.gridProtection.timer3.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer2.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer1.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer.entryTime,$PRE.wT4BCurrentSource.control4B.qControl.delayFlag.timer.entryTime,wT4BCurrentSource.control4B.currentLimiter.product1.u[2],omegaRefPu.count,omegaRefPu.T_start,nodeFault1.nodeFault,nodeFault.nodeFault,wT4BCurrentSource.gridProtection.pre1.u,wT4BCurrentSource.gridProtection.or1.u[5],wT4BCurrentSource.gridProtection.or1.u[4],wT4BCurrentSource.gridProtection.or1.u[3],wT4BCurrentSource.gridProtection.or1.u[2],wT4BCurrentSource.gridProtection.or1.u[1],wT4BCurrentSource.gridProtection.timer3.entryTime,wT4BCurrentSource.gridProtection.timer2.entryTime,wT4BCurrentSource.gridProtection.timer1.entryTime,wT4BCurrentSource.gridProtection.lessEqual3.y,wT4BCurrentSource.gridProtection.lessEqual2.y,wT4BCurrentSource.gridProtection.lessEqual1.y,wT4BCurrentSource.gridProtection.lessEqual.y,wT4BCurrentSource.gridProtection.timer.entryTime,wT4BCurrentSource.control4B.qLimiter.integerToBoolean.y,wT4BCurrentSource.control4B.qControl.fUvrt,wT4BCurrentSource.control4B.qControl.greaterEqualThreshold.y,wT4BCurrentSource.control4B.qControl.delayFlag.booleanToInteger.y,wT4BCurrentSource.control4B.qControl.delayFlag.switch1.y,wT4BCurrentSource.control4B.qControl.delayFlag.less1.y,wT4BCurrentSource.control4B.qControl.delayFlag.timer.entryTime,wT4BCurrentSource.control4B.qControl.delayFlag.fI,wT4BCurrentSource.control4B.currentLimiter.greater.y,wT4BCurrentSource.control4B.currentLimiter.product1.y,wT4BCurrentSource.pll.fixedBooleanDelay.y,wT4BCurrentSource.pll.fixedBooleanDelay1.y,wT4BCurrentSource.pll.lessThreshold1.y,wT4BCurrentSource.pll.lessThreshold.y,wT4BCurrentSource.wT4Injector.elecSystem.running,wT4BCurrentSource.wT4Injector.running,transformer1.running,transformer.running,line3.running,line2B.running,line2A.running,line1.running,line.running,$whenCondition1,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition17,$whenCondition16,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition24,$whenCondition26,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition28,$whenCondition30,$whenCondition32,$whenCondition31,$whenCondition33,$whenCondition35,$whenCondition34,$whenCondition36,$whenCondition38,$whenCondition37,$whenCondition39,$whenCondition41,$whenCondition40,$whenCondition43,$whenCondition42,$whenCondition45,$whenCondition44,wT4BCurrentSource.mechanical.pI.integrator.local_reset,wT4BCurrentSource.mechanical.integrator1.local_reset,wT4BCurrentSource.mechanical.integrator.local_reset,wT4BCurrentSource.gridProtection.ufMeasurement.rampLimiter.integrator.local_reset,wT4BCurrentSource.control4B.qLimiter.absLimRateLimFirstOrderFreeze1.integrator.local_reset,wT4BCurrentSource.control4B.qLimiter.absLimRateLimFirstOrderFreeze.integrator.local_reset,wT4BCurrentSource.control4B.qControl.absLimRateLimFeedthroughFreeze.rampLimiter.integrator.local_reset,wT4BCurrentSource.control4B.qControl.absLimRateLimFirstOrderFreeze.integrator.local_reset,wT4BCurrentSource.control4B.qControl.antiWindupIntegrator1.integrator.local_reset,wT4BCurrentSource.control4B.qControl.antiWindupIntegrator.integrator.local_reset,wT4BCurrentSource.control4B.pControl4B.absLimRateLimFirstOrderAntiWindup.integrator.local_reset,wT4BCurrentSource.pll.absLimRateLimFirstOrderFreeze.integrator.local_reset,wT4BCurrentSource.wT4Injector.genSystem.absLimRateLimFirstOrderAntiWindup1.integrator.local_reset,wT4BCurrentSource.wT4Injector.genSystem.absLimRateLimFirstOrderAntiWindup.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,73)} Notification: Performance of prepare postOptimizeDAE: time 0.00145/0.8688, allocations: 0.6992 MB / 0.7799 GB, free: 82.95 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008314/0.8697, allocations: 0.78 MB / 0.7807 GB, free: 82.16 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00967/0.8793, allocations: 6.83 MB / 0.7873 GB, free: 75.29 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.8794, allocations: 23.92 kB / 0.7874 GB, free: 75.26 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8794, allocations: 0 / 0.7874 GB, free: 75.26 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.8805, allocations: 0.9494 MB / 0.7883 GB, free: 74.36 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.8811, allocations: 95.98 kB / 0.7884 GB, free: 74.26 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8827, allocations: 335.5 kB / 0.7887 GB, free: 73.93 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/0.8832, allocations: 326.5 kB / 0.789 GB, free: 73.61 MB / 0.5887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008907/0.8921, allocations: 7.171 MB / 0.796 GB, free: 66.5 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009079/0.9012, allocations: 8.924 MB / 0.8047 GB, free: 57.51 MB / 0.5887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002902/0.9041, allocations: 2.566 MB / 0.8072 GB, free: 54.94 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.006097/0.9102, allocations: 5.81 MB / 0.8129 GB, free: 49.14 MB / 0.5887 GB Notification: Performance of Backend: time 3.61e-07/0.9102, allocations: 4 kB / 0.8129 GB, free: 49.14 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01626/0.9264, allocations: 10.58 MB / 0.8233 GB, free: 38.6 MB / 0.5887 GB Notification: Performance of SimCode: time 0.01662/0.9431, allocations: 16.42 MB / 0.8393 GB, free: 22.13 MB / 0.5887 GB [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 6: time < infiniteBusWithVariations.tUEvtStart or time >= infiniteBusWithVariations.tUEvtEnd. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 9: wT4BCurrentSource.wT4Injector.elecSystem.u2Pu.re == 0.0 and wT4BCurrentSource.wT4Injector.elecSystem.u2Pu.im == 0.0. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 10: transformer.terminal2.V.re == 0.0 and transformer.terminal2.V.im == 0.0. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 11: line.terminal2.V.re == 0.0 and line.terminal2.V.im == 0.0. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 12: transformer1.terminal2.V.re == 0.0 and transformer1.terminal2.V.im == 0.0. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 42: time < omegaRefPu.startTime or omegaRefPu.nperiod == 0 or omegaRefPu.nperiod > 0 and omegaRefPu.count >= omegaRefPu.nperiod. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 48: integer((time - omegaRefPu.startTime) / omegaRefPu.period, 0). Error: Internal error SimCode DAEmode: The model Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2015 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.6463174764066935] Failed to read output from testmodel.py, exit status != 0: 1.323648444376886 1.3288176999999999 1.2390931 Calling exit ...