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.001403/0.001403, allocations: 104.3 kB / 19.72 MB, free: 1.895 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.00202/0.00202, allocations: 211.2 kB / 23.01 MB, free: 4.996 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.616/1.616, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.7179/0.7179, allocations: 114.3 MB / 400.4 MB, free: 17.15 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: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [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.002591/0.002591, allocations: 73.95 kB / 0.5671 GB, free: 42.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1833, allocations: 78.66 MB / 0.6439 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01576/0.1991, allocations: 10.43 MB / 0.6541 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.2114, allocations: 5.575 MB / 0.6595 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.2145, allocations: 79.44 kB / 0.6596 GB, free: 13.63 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.002464/0.217, allocations: 0.5454 MB / 0.6602 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.2212, allocations: 0.7835 MB / 0.6609 GB, free: 12.29 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.006623/0.2278, allocations: 2.718 MB / 0.6636 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006741/0.2346, allocations: 4.16 MB / 0.6676 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.2369, allocations: 1.078 MB / 0.6687 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.2394, allocations: 1.541 MB / 0.6702 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.2415, allocations: 1.586 MB / 0.6717 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007449/0.2422, allocations: 464 kB / 0.6722 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.2436, allocations: 0.7146 MB / 0.6729 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.2445, allocations: 0.876 MB / 0.6737 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.2462, allocations: 1.352 MB / 0.6751 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007254/0.2535, allocations: 5.488 MB / 0.6804 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2535, allocations: 7.938 kB / 0.6804 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2535, allocations: 0 / 0.6804 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001274/0.2536, allocations: 0 / 0.6804 GB, free: 8.207 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.01236/0.266, allocations: 4.278 MB / 0.6846 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.266, allocations: 15.97 kB / 0.6846 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004694/0.2665, allocations: 320.2 kB / 0.6849 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/0.2712, allocations: 0.8808 MB / 0.6858 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.2757, allocations: 2.114 MB / 0.6878 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006676/0.2764, allocations: 0.7639 MB / 0.6886 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004442/0.2768, allocations: 235.9 kB / 0.6888 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.2832, allocations: 3.231 MB / 0.692 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.2833, allocations: 3.938 kB / 0.692 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.2836, allocations: 99.98 kB / 0.6921 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.2836, allocations: 52 kB / 0.6921 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006165/0.2898, allocations: 2.463 MB / 0.6945 GB, free: 9.203 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.01797/0.3078, allocations: 8.784 MB / 0.7031 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006829/0.3146, allocations: 2.656 MB / 0.7057 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.317, allocations: 1.064 MB / 0.7067 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.3172, allocations: 33.3 kB / 0.7068 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003042/0.3202, allocations: 1.469 MB / 0.7082 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.237e-06/0.3202, allocations: 3.938 kB / 0.7082 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01054/0.3308, allocations: 3.854 MB / 0.712 GB, free: 7.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003112/0.3311, allocations: 467 kB / 0.7124 GB, free: 6.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.3354, allocations: 2.53 MB / 0.7149 GB, free: 4.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.3358, allocations: 65.7 kB / 0.715 GB, free: 3.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.3372, allocations: 1.204 MB / 0.7161 GB, free: 2.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/0.3381, allocations: 0.678 MB / 0.7168 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.3391, allocations: 0.5728 MB / 0.7173 GB, free: 1.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3392, allocations: 305.1 kB / 0.7176 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/0.3422, allocations: 1.355 MB / 0.719 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.3459, allocations: 2.228 MB / 0.7211 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02115/0.3671, allocations: 6.797 MB / 0.7278 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.3671, allocations: 4 kB / 0.7278 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.009913/0.377, allocations: 4.019 MB / 0.7317 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.3771, allocations: 57.67 kB / 0.7318 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.3771, allocations: 8 kB / 0.7318 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.3777, allocations: 321.4 kB / 0.7321 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/0.3807, allocations: 0.667 MB / 0.7327 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.129e-05/0.3808, allocations: 23.94 kB / 0.7327 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.3834, allocations: 385.9 kB / 0.7331 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.3837, allocations: 116 kB / 0.7332 GB, free: 0.6797 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.004473/0.3881, allocations: 1.87 MB / 0.7351 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003486/0.3916, allocations: 2.165 MB / 0.7372 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01999/0.4116, allocations: 6.657 MB / 0.7437 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-05/0.4116, allocations: 4 kB / 0.7437 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.009242/0.4209, allocations: 3.918 MB / 0.7475 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.4209, allocations: 56.95 kB / 0.7476 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.421, allocations: 15.94 kB / 0.7476 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.4215, allocations: 324.9 kB / 0.7479 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.4244, allocations: 0.6397 MB / 0.7485 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/0.4244, allocations: 31.94 kB / 0.7485 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.427, allocations: 334.7 kB / 0.7489 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.4272, allocations: 107.9 kB / 0.749 GB, free: 68 kB / 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: 52 ($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.QInj0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QInj0PuPos.y,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.Qinj0PuNeg.y,$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 (370): * Single equations (assignments): 368 * 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.0009596/0.4282, allocations: 481.2 kB / 0.7494 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/0.4288, allocations: 302 kB / 0.7497 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007355/0.4362, allocations: 2.957 MB / 0.7526 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.4362, allocations: 20 kB / 0.7526 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.4362, allocations: 7.922 kB / 0.7526 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.4362, allocations: 7.969 kB / 0.7526 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.4486, allocations: 5.894 MB / 0.7584 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4487, allocations: 4 kB / 0.7584 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.4512, allocations: 435.9 kB / 0.7588 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.4516, allocations: 312.7 kB / 0.7591 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.4518, allocations: 55.97 kB / 0.7591 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/0.4518, allocations: 15.94 kB / 0.7592 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4518, allocations: 4 kB / 0.7592 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.4623, allocations: 4.696 MB / 0.7638 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/0.4643, allocations: 0.6263 MB / 0.7644 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/0.4646, allocations: 48 kB / 0.7644 GB, free: 40 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.4663, allocations: 183.8 kB / 0.7646 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.4667, allocations: 169.8 kB / 0.7647 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.4669, allocations: 67.97 kB / 0.7648 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002863/0.4698, allocations: 1.641 MB / 0.7664 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4698, allocations: 0 / 0.7664 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003322/0.4731, allocations: 1.158 MB / 0.7675 GB, free: 12.82 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.01093/0.484, allocations: 5.371 MB / 0.7728 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01163/0.4956, allocations: 4.893 MB / 0.7776 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.4957, allocations: 4.25 kB / 0.7776 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.4991, allocations: 1.418 MB / 0.779 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.5019, allocations: 433.8 kB / 0.7794 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.422/0.9239, allocations: 25.32 MB / 0.8041 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.9251, allocations: 1.12 MB / 0.8052 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002073/0.9272, allocations: 381.8 kB / 0.8056 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.9288, allocations: 1.167 MB / 0.8067 GB, free: 123.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.442e-06/0.9288, allocations: 0 / 0.8067 GB, free: 123.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/1.091, allocations: 66.24 MB / 0.8714 GB, free: 60.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.1, allocations: 10.27 kB / 0.8714 GB, free: 60.07 MB / 0.6075 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/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] "Error: Could not read variable PV.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! Error: Could not read variable PV.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv. Warning: Get data of variable PV.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.874534633971052]