Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.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.001746/0.001746, allocations: 100.3 kB / 20.47 MB, free: 1.242 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.001949/0.001949, allocations: 221.4 kB / 23.77 MB, free: 4.145 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.619/1.619, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6655/0.6655, allocations: 114.3 MB / 401.2 MB, free: 17.09 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") [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.003219/0.003219, allocations: 80.09 kB / 0.5683 GB, free: 42.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2225, allocations: 78.64 MB / 0.6451 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01563/0.2382, allocations: 10.44 MB / 0.6553 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.2503, allocations: 5.579 MB / 0.6608 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.2535, allocations: 79.44 kB / 0.6608 GB, free: 13.16 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00207/0.2556, allocations: 0.5453 MB / 0.6614 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.259, allocations: 0.7796 MB / 0.6621 GB, free: 11.83 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVCurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pvCurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.2652, allocations: 2.727 MB / 0.6648 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006698/0.2719, allocations: 4.158 MB / 0.6689 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.2746, allocations: 1.086 MB / 0.6699 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.2775, allocations: 1.529 MB / 0.6714 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.2803, allocations: 1.598 MB / 0.673 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.2816, allocations: 460 kB / 0.6734 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.2836, allocations: 0.7147 MB / 0.6741 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008554/0.2844, allocations: 0.8838 MB / 0.675 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.2859, allocations: 1.345 MB / 0.6763 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.2929, allocations: 5.484 MB / 0.6816 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2929, allocations: 0 / 0.6816 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2929, allocations: 0 / 0.6816 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001313/0.293, allocations: 7.938 kB / 0.6816 GB, free: 7.738 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.01229/0.3053, allocations: 4.282 MB / 0.6858 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3054, allocations: 8.922 kB / 0.6858 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.3099, allocations: 0.8887 MB / 0.6867 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/0.3144, allocations: 2.106 MB / 0.6888 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007063/0.3151, allocations: 0.764 MB / 0.6895 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004968/0.3156, allocations: 232.1 kB / 0.6897 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006058/0.3216, allocations: 3.231 MB / 0.6929 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.3217, allocations: 3.938 kB / 0.6929 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.3219, allocations: 99.98 kB / 0.693 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.322, allocations: 52 kB / 0.693 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005566/0.3275, allocations: 2.46 MB / 0.6954 GB, free: 9.07 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.344, allocations: 8.446 MB / 0.7037 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006697/0.3507, allocations: 2.652 MB / 0.7063 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.3531, allocations: 1.068 MB / 0.7073 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.3533, allocations: 29.3 kB / 0.7073 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003014/0.3563, allocations: 1.465 MB / 0.7088 GB, free: 11.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.779e-06/0.3563, allocations: 0 / 0.7088 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01082/0.3671, allocations: 3.827 MB / 0.7125 GB, free: 7.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003909/0.3675, allocations: 470.9 kB / 0.713 GB, free: 6.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/0.3733, allocations: 2.185 MB / 0.7151 GB, free: 4.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/0.3736, allocations: 65.7 kB / 0.7152 GB, free: 4.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.3751, allocations: 1.214 MB / 0.7163 GB, free: 3.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009576/0.3761, allocations: 0.6703 MB / 0.717 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.3774, allocations: 0.5489 MB / 0.7175 GB, free: 2.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3776, allocations: 309.1 kB / 0.7178 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.3807, allocations: 1.335 MB / 0.7191 GB, free: 424 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/0.3846, allocations: 2.179 MB / 0.7213 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/0.4061, allocations: 6.722 MB / 0.7278 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.4061, allocations: 4 kB / 0.7278 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01104/0.4172, allocations: 3.908 MB / 0.7316 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.4173, allocations: 61.67 kB / 0.7317 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.4173, allocations: 8 kB / 0.7317 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.4179, allocations: 313.1 kB / 0.732 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/0.4214, allocations: 0.6553 MB / 0.7326 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.738e-05/0.4215, allocations: 23.94 kB / 0.7327 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.4246, allocations: 330.5 kB / 0.733 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/0.4251, allocations: 104 kB / 0.7331 GB, free: 1.617 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 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.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.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.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.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.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005327/0.4305, allocations: 1.855 MB / 0.7349 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003866/0.4343, allocations: 2.128 MB / 0.737 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02115/0.4555, allocations: 6.577 MB / 0.7434 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.818e-05/0.4555, allocations: 0 / 0.7434 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.01041/0.4659, allocations: 3.806 MB / 0.7471 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.466, allocations: 57.67 kB / 0.7472 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.466, allocations: 8 kB / 0.7472 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005386/0.4665, allocations: 320.8 kB / 0.7475 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.4697, allocations: 0.628 MB / 0.7481 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.554e-05/0.4698, allocations: 31.86 kB / 0.7481 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.4725, allocations: 318.9 kB / 0.7484 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/0.4728, allocations: 104 kB / 0.7485 GB, free: 1.285 MB / 0.5762 GB Warning: Assuming fixed start value for the following 26 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.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu 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.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.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.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.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.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) 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_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: 38 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.line.state,PV.line.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running.value,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.QInj0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.injector.running.value,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,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 352 * 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.001234/0.4741, allocations: 469.3 kB / 0.749 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009326/0.475, allocations: 266.3 kB / 0.7492 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007981/0.483, allocations: 2.942 MB / 0.7521 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.483, allocations: 28 kB / 0.7521 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.483, allocations: 4 kB / 0.7521 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.4831, allocations: 7.969 kB / 0.7521 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.4965, allocations: 5.669 MB / 0.7577 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.4965, allocations: 4 kB / 0.7577 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/0.4991, allocations: 431.9 kB / 0.7581 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005225/0.4996, allocations: 312.7 kB / 0.7584 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.4998, allocations: 55.92 kB / 0.7584 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-05/0.4998, allocations: 15.92 kB / 0.7585 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.4998, allocations: 4 kB / 0.7585 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.511, allocations: 4.66 MB / 0.763 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/0.513, allocations: 0.5718 MB / 0.7636 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/0.5138, allocations: 51.98 kB / 0.7636 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/0.5161, allocations: 195.7 kB / 0.7638 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000464/0.5166, allocations: 165.6 kB / 0.764 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.5168, allocations: 63.97 kB / 0.764 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003734/0.5205, allocations: 1.406 MB / 0.7654 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5205, allocations: 0 / 0.7654 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004814/0.5254, allocations: 1.2 MB / 0.7666 GB, free: 14.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.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]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.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.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 4 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007249/0.5261, allocations: 230.9 kB / 0.7668 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01275/0.5388, allocations: 4.832 MB / 0.7715 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.732e-05/0.5389, allocations: 8 kB / 0.7715 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/0.5431, allocations: 1.416 MB / 0.7729 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/0.5475, allocations: 421.7 kB / 0.7733 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.561, allocations: 5.476 MB / 0.7787 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.563, allocations: 1.125 MB / 0.7798 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.5644, allocations: 175.4 kB / 0.7799 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of SimCode: time 1.934e-06/0.5644, allocations: 0 / 0.7799 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.4014/0.9657, allocations: 52.51 MB / 0.8312 GB, free: 98.08 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,PV.injector.PInjPu,PV.injector.QInjPu,PV.pll.omegaPLLPu Variables in the result:PV.injector.PInjPu,PV.injector.QInjPu,PV.pll.omegaPLLPu,time [Calling sys.exit(0), Time elapsed: 12.990741794987116]