Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001396/0.001396, allocations: 104.3 kB / 19.72 MB, free: 2.039 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.001587/0.001587, allocations: 211 kB / 23.01 MB, free: 4.863 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.528/1.528, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.7046/0.7046, allocations: 115.9 MB / 402 MB, free: 16 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.PVVoltageSource4,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSource4",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.003639/0.003639, allocations: 77.19 kB / 0.5694 GB, free: 41.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.18, allocations: 79.03 MB / 0.6466 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4): time 0.01691/0.1969, allocations: 11.99 MB / 0.6583 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2112, allocations: 6.271 MB / 0.6644 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004855/0.2161, allocations: 99.31 kB / 0.6645 GB, free: 8.922 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003295/0.2194, allocations: 0.642 MB / 0.6651 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.2265, allocations: 1.289 MB / 0.6664 GB, free: 6.98 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVVoltageSource_INIT.mo:67:3-67:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007566/0.2341, allocations: 2.783 MB / 0.6691 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009193/0.2433, allocations: 4.997 MB / 0.674 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004036/0.2473, allocations: 1.253 MB / 0.6752 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.2511, allocations: 1.825 MB / 0.677 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.2544, allocations: 1.717 MB / 0.6786 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.2562, allocations: 0.5547 MB / 0.6792 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.2585, allocations: 0.8162 MB / 0.68 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.2601, allocations: 1.082 MB / 0.681 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.2628, allocations: 1.632 MB / 0.6826 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009932/0.2727, allocations: 6.695 MB / 0.6892 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.2728, allocations: 0 / 0.6892 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2728, allocations: 0 / 0.6892 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002118/0.273, allocations: 0 / 0.6892 GB, free: 15.51 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 687 * Number of variables: 687 Notification: Performance of Generate backend data structure: time 0.01781/0.2908, allocations: 5.21 MB / 0.6943 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2908, allocations: 12.03 kB / 0.6943 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007526/0.2916, allocations: 387.7 kB / 0.6946 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/0.2982, allocations: 1.142 MB / 0.6958 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006108/0.3043, allocations: 2.512 MB / 0.6982 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007813/0.3051, allocations: 0.808 MB / 0.699 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009587/0.306, allocations: 284.1 kB / 0.6993 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008169/0.3142, allocations: 3.964 MB / 0.7031 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.986e-05/0.3143, allocations: 7.938 kB / 0.7031 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.3146, allocations: 116 kB / 0.7033 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/0.3146, allocations: 68 kB / 0.7033 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007471/0.3221, allocations: 2.979 MB / 0.7062 GB, free: 13.46 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/0.3488, allocations: 11 MB / 0.717 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009041/0.3578, allocations: 3.017 MB / 0.7199 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.3612, allocations: 1.265 MB / 0.7212 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.3615, allocations: 37.98 kB / 0.7212 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004522/0.366, allocations: 1.82 MB / 0.723 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=226): time 7.434e-06/0.3661, allocations: 0 / 0.723 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226): time 0.01536/0.3814, allocations: 4.72 MB / 0.7276 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004617/0.3819, allocations: 0.5932 MB / 0.7282 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008181/0.3901, allocations: 2.88 MB / 0.731 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007259/0.3908, allocations: 77.7 kB / 0.731 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/0.3928, allocations: 1.436 MB / 0.7324 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.3944, allocations: 0.8215 MB / 0.7333 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002622/0.3971, allocations: 0.6802 MB / 0.7339 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3972, allocations: 305.2 kB / 0.7342 GB, free: 372 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004343/0.4015, allocations: 1.629 MB / 0.7358 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/0.4068, allocations: 2.663 MB / 0.7384 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0287/0.4355, allocations: 8.18 MB / 0.7464 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.4355, allocations: 4 kB / 0.7464 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01522/0.4507, allocations: 4.937 MB / 0.7512 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.4508, allocations: 62.52 kB / 0.7513 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.4509, allocations: 12 kB / 0.7513 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.4517, allocations: 472.6 kB / 0.7517 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004249/0.456, allocations: 0.7762 MB / 0.7525 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.97e-05/0.4561, allocations: 35.92 kB / 0.7525 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.4598, allocations: 437.5 kB / 0.7529 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/0.4604, allocations: 132 kB / 0.7531 GB, free: 12.49 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean 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) 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_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.value:DISCRETE(flow=false start = PV.source.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_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.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006161/0.4666, allocations: 2.263 MB / 0.7553 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005095/0.4717, allocations: 2.596 MB / 0.7578 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02732/0.499, allocations: 8.039 MB / 0.7657 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.73e-05/0.4991, allocations: 0 / 0.7657 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=474) (initialization_lambda0): time 0.0142/0.5133, allocations: 4.824 MB / 0.7704 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.5133, allocations: 62.52 kB / 0.7704 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.5134, allocations: 12.06 kB / 0.7704 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.5141, allocations: 484.6 kB / 0.7709 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/0.5181, allocations: 0.7567 MB / 0.7716 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.149e-05/0.5182, allocations: 35.88 kB / 0.7717 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/0.5217, allocations: 374.2 kB / 0.772 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/0.5223, allocations: 132 kB / 0.7722 GB, free: 8.391 MB / 0.6075 GB Warning: Assuming fixed start value for the following 30 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.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean 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) 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_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.value:DISCRETE(flow=false start = PV.source.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_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.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: 47 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition10,$whenCondition9,$whenCondition11,$PRE.PV.source.state,PV.source.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.source.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.source.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,$whenCondition13,$whenCondition12,$whenCondition14,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,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_regc.pIAntiWindupVariableLimits1.integrator.local_reset,PV.wecc_regc.pIAntiWindupVariableLimits.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 447 * 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 {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.5238, allocations: 0.5106 MB / 0.7727 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.5251, allocations: 341.8 kB / 0.773 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.5355, allocations: 3.566 MB / 0.7765 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.5355, allocations: 24 kB / 0.7765 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.5355, allocations: 4 kB / 0.7765 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.5355, allocations: 11.95 kB / 0.7765 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4144/0.95, allocations: 7.446 MB / 0.7838 GB, free: 126.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.95, allocations: 3.297 kB / 0.7838 GB, free: 126.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002824/0.9528, allocations: 486.9 kB / 0.7842 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.9534, allocations: 461.9 kB / 0.7847 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.9536, allocations: 62.97 kB / 0.7847 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.9537, allocations: 18.22 kB / 0.7848 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9537, allocations: 2.281 kB / 0.7848 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.9653, allocations: 5.677 MB / 0.7903 GB, free: 124.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/0.9675, allocations: 0.7324 MB / 0.791 GB, free: 124 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/0.9679, allocations: 60.03 kB / 0.7911 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.9699, allocations: 191.2 kB / 0.7913 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.9703, allocations: 203.5 kB / 0.7915 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.9705, allocations: 77.31 kB / 0.7915 GB, free: 123.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003237/0.9737, allocations: 1.865 MB / 0.7934 GB, free: 123.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9737, allocations: 1.031 kB / 0.7934 GB, free: 123.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004874/0.9786, allocations: 1.422 MB / 0.7947 GB, free: 122.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.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) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$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.source.running.value,PV.source.state,PV.wecc_repc.freeze,$whenCondition11,$whenCondition9,$whenCondition10,PV.injector.running.value,PV.injector.state) * Number of discrete states: 5 (PV.injector.running.value,PV.source.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 (225): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/0.9915, allocations: 6.375 MB / 0.801 GB, free: 119.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.003, allocations: 5.849 MB / 0.8067 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.003, allocations: 7.594 kB / 0.8067 GB, free: 117.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.006, allocations: 1.628 MB / 0.8083 GB, free: 116.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.009, allocations: 0.5171 MB / 0.8088 GB, free: 116.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05282/1.062, allocations: 29.97 MB / 0.8381 GB, free: 88.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.063, allocations: 1.332 MB / 0.8394 GB, free: 86.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002332/1.066, allocations: 438.9 kB / 0.8398 GB, free: 86.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.067, allocations: 1.39 MB / 0.8411 GB, free: 84.98 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.067, allocations: 0 / 0.8411 GB, free: 84.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.192, allocations: 77.88 MB / 0.9172 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/18.16, allocations: 12 kB / 0.9172 GB, free: 7.387 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_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_PVVoltageSource4.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.measurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.measurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! Error: Could not read variable PV.measurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.measurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! Error: Could not read variable PV.pll.omegaPLLPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv. Warning: Get data of variable PV.pll.omegaPLLPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSource4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.92575384490192]