Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.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.00111/0.00111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001705/0.002815, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001029/0.001029, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002484, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9176/0.9176, allocations: 158.6 MB / 171.1 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1488/1.066, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4357/0.4357, allocations: 90.83 MB / 312.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05212/0.4878, allocations: 32.15 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 346 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.659e-05, allocations: 2.312 kB / 346 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01923/0.01926, allocations: 15.22 MB / 361.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.03764, allocations: 7.231 MB / 368.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00503/0.04267, allocations: 103.3 kB / 368.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.04648, allocations: 0.8128 MB / 369.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.05427, allocations: 1.579 MB / 370.9 MB, free: 3.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:106:3-106:91:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvVoltageSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.007327/0.0616, allocations: 3.034 MB / 373.9 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007233/0.06883, allocations: 5.693 MB / 379.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.07159, allocations: 1.448 MB / 381.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005367/0.07696, allocations: 3.778 MB / 384.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.07909, allocations: 1.729 MB / 386.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.08021, allocations: 0.6367 MB / 387.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.08176, allocations: 0.9488 MB / 388.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008903/0.08265, allocations: 0.9503 MB / 389.1 MB, free: 1.301 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.08391, allocations: 1.255 MB / 390.4 MB, free: 44 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.08818, allocations: 3.748 MB / 394.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.08819, allocations: 0 / 394.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.0882, allocations: 0 / 394.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.0883, allocations: 0 / 394.1 MB, free: 12.28 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 827 * Number of variables: 827 Notification: Performance of Generate backend data structure: time 0.00985/0.09815, allocations: 7.084 MB / 401.2 MB, free: 5.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.09818, allocations: 8.031 kB / 401.2 MB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.1019, allocations: 1.671 MB / 402.9 MB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.1045, allocations: 1.734 MB / 404.6 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.1049, allocations: 0.8944 MB / 405.5 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.1052, allocations: 352.1 kB / 405.9 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.1082, allocations: 3.084 MB / 408.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.1082, allocations: 3.938 kB / 408.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.1084, allocations: 140 kB / 409.1 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.1085, allocations: 80 kB / 409.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.1101, allocations: 1.031 MB / 410.2 MB, free: 11.6 MB / 410.7 MB 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.009585/0.1197, allocations: 8.558 MB / 418.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.1217, allocations: 1.49 MB / 420.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.1223, allocations: 443.5 kB / 420.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.1225, allocations: 57.98 kB / 420.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.1236, allocations: 1.119 MB / 421.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=274): time 4.719e-06/0.1236, allocations: 0 / 421.8 MB, free: 15.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=274): time 0.004268/0.1279, allocations: 2.237 MB / 424.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.128, allocations: 152.7 kB / 424.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.1301, allocations: 2.338 MB / 426.6 MB, free: 10.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.1303, allocations: 93.69 kB / 426.7 MB, free: 10.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.131, allocations: 1.245 MB / 427.9 MB, free: 9.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00071/0.1318, allocations: 0.9956 MB / 428.9 MB, free: 8.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008064/0.1326, allocations: 0.8227 MB / 429.7 MB, free: 7.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.1326, allocations: 305.1 kB / 430 MB, free: 7.387 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.1339, allocations: 0.8078 MB / 430.8 MB, free: 6.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.1355, allocations: 1.862 MB / 432.7 MB, free: 4.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.1398, allocations: 3.813 MB / 436.5 MB, free: 300 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.1398, allocations: 0 / 436.5 MB, free: 300 kB / 426.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004436/0.1442, allocations: 3.101 MB / 439.6 MB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.1443, allocations: 76.78 kB / 439.7 MB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.1443, allocations: 12 kB / 439.7 MB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000893/0.1452, allocations: 475.9 kB / 440.2 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.1474, allocations: 1.018 MB / 441.2 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.1501, allocations: 2.217 MB / 443.4 MB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.1518, allocations: 397.7 kB / 443.8 MB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.1519, allocations: 116 kB / 443.9 MB, free: 8.734 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.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) PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.injector.i0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.injector.i0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002089/0.154, allocations: 1.131 MB / 445 MB, free: 7.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001653/0.1557, allocations: 1.858 MB / 446.9 MB, free: 5.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004132/0.1598, allocations: 3.775 MB / 450.7 MB, free: 1.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.471e-05/0.1598, allocations: 4 kB / 450.7 MB, free: 1.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.1936/0.3534, allocations: 3.09 MB / 453.8 MB, free: 66.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.3534, allocations: 74.02 kB / 453.8 MB, free: 66.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.3535, allocations: 10.62 kB / 453.8 MB, free: 66.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.3544, allocations: 471.4 kB / 454.3 MB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.3572, allocations: 1.004 MB / 455.3 MB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.36, allocations: 2.23 MB / 457.5 MB, free: 65.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.3623, allocations: 370.2 kB / 457.9 MB, free: 65.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.3627, allocations: 118.8 kB / 458 MB, free: 65.27 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.injector.running:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.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) PV.s0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.s0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.wecc_regc.vSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.vSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_regc.vSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.LvTfo.running:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.HvTfo.running:DISCRETE(flow=false start = PV.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.injector.i0Pu.re:VARIABLE(unit = \"1\" fixed = true ) \"Real part of complex number\" type: Real PV.injector.i0Pu.im:VARIABLE(unit = \"1\" fixed = true ) \"Imaginary part of complex number\" type: Real PV.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: 50 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running,PV.injector.running,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.HvTfo.state,PV.HvTfo.state,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.state,$PRE.line.state,line.state,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.local_reset,PV.pll.integrator.local_reset,PV.pll.limIntegrator.local_reset,PV.wecc_repc.limPID.I.local_reset,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,PV.injector.switchOffSignal1,PV.injector.switchOffSignal2,PV.injector.switchOffSignal3,$PRE.line.running,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running,$PRE.PV.LvTfo.running,$PRE.PV.HvTfo.running,PV.wecc_regc.QConv0PuPos.k,PV.wecc_regc.QConv0PuNeg.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.HvTfo.running,PV.LvTfo.running,PV.source.running,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 526 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009032/0.3636, allocations: 0.5672 MB / 458.6 MB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006498/0.3642, allocations: 303.6 kB / 458.9 MB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.3671, allocations: 1.756 MB / 460.6 MB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3671, allocations: 28.12 kB / 460.7 MB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3671, allocations: 6.281 kB / 460.7 MB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.3671, allocations: 12 kB / 460.7 MB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/0.3734, allocations: 4.114 MB / 464.8 MB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3735, allocations: 5.219 kB / 464.8 MB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.3751, allocations: 0.5738 MB / 465.4 MB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.3762, allocations: 386.8 kB / 465.7 MB, free: 64.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008177/0.377, allocations: 460.5 kB / 466.2 MB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.3772, allocations: 69.16 kB / 466.3 MB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.3797, allocations: 2.201 MB / 468.5 MB, free: 63.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.3797, allocations: 14.03 kB / 468.5 MB, free: 63.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.3832, allocations: 2.713 MB / 471.2 MB, free: 62.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.3837, allocations: 73.62 kB / 471.3 MB, free: 62.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.3848, allocations: 150.8 kB / 471.4 MB, free: 62.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.3851, allocations: 225 kB / 471.6 MB, free: 62.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.3852, allocations: 75.75 kB / 471.7 MB, free: 62.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.3864, allocations: 1.195 MB / 472.9 MB, free: 62.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3864, allocations: 1.031 kB / 472.9 MB, free: 62.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003209/0.3896, allocations: 1.873 MB / 474.8 MB, free: 62.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 25 (PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder.y,PV.wecc_regc.vSourceRef.firstOrder1.y,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.y,PV.wecc_regc.pIAntiWindupVariableLimits1.integrator.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.source.running,PV.source.state,PV.LvTfo.running,PV.LvTfo.state,PV.HvTfo.running,PV.HvTfo.state,PV.wecc_repc.freeze,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running,PV.injector.state) * Number of discrete states: 6 (PV.injector.running,PV.HvTfo.running,PV.LvTfo.running,PV.source.running,line.running,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,8,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005314/0.3901, allocations: 252.9 kB / 475 MB, free: 62.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006887/0.397, allocations: 4.639 MB / 479.7 MB, free: 61.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001262/0.3972, allocations: 60.09 kB / 479.7 MB, free: 60.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.3989, allocations: 1.209 MB / 480.9 MB, free: 60.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.4014, allocations: 2.716 MB / 483.6 MB, free: 57.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008362/0.4097, allocations: 6.624 MB / 490.3 MB, free: 51.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.4102, allocations: 0.6169 MB / 490.9 MB, free: 51.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001752/0.412, allocations: 0.5001 MB / 491.4 MB, free: 50.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.4131, allocations: 0.6243 MB / 492 MB, free: 50.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4131, allocations: 0 / 492 MB, free: 50.12 MB / 442.7 MB Notification: Performance of Templates: time 0.06001/0.4731, allocations: 57.27 MB / 0.5364 GB, free: 10.81 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.540431289002299]