Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.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.0009819/0.0009819, allocations: 76.52 kB / 19.94 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 169.6 kB / 23.22 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8564/0.8564, allocations: 158.6 MB / 185 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4167/0.4167, allocations: 89.96 MB / 327.2 MB, free: 15.39 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -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.PVVoltageSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceNoPPC",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.00139/0.00139, allocations: 77.12 kB / 0.5001 GB, free: 16.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 80.43 MB / 0.5786 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC): time 0.00996/0.155, allocations: 10.3 MB / 0.5887 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008808/0.1638, allocations: 5.265 MB / 0.5938 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.1664, allocations: 59.62 kB / 0.5939 GB, free: 12.82 MB / 0.5105 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: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). [/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.001858/0.1683, allocations: 0.6779 MB / 0.5946 GB, free: 12.14 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003456/0.1717, allocations: 1.266 MB / 0.5958 GB, free: 10.86 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Photovoltaics/WECC/PVInverterVoltageSource_INIT.mo:90:3-90:108:writable] Warning: In relation Modelica.ComplexMath.'abs'(pVVoltageSourceNoPlantControl_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.175, allocations: 1.939 MB / 0.5977 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004397/0.1793, allocations: 3.711 MB / 0.6013 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.1807, allocations: 0.8236 MB / 0.6021 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.1825, allocations: 1.285 MB / 0.6034 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.184, allocations: 1.141 MB / 0.6045 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007059/0.1847, allocations: 400 kB / 0.6049 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1857, allocations: 0.6675 MB / 0.6055 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008667/0.1865, allocations: 0.8252 MB / 0.6063 GB, free: 12 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.1879, allocations: 1.024 MB / 0.6073 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.1928, allocations: 5.067 MB / 0.6123 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1928, allocations: 3.938 kB / 0.6123 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1928, allocations: 0 / 0.6123 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000142/0.1929, allocations: 4 kB / 0.6123 GB, free: 9.891 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.009281/0.2022, allocations: 4.245 MB / 0.6164 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2022, allocations: 8.031 kB / 0.6164 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/0.2026, allocations: 298.9 kB / 0.6167 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.2051, allocations: 0.8693 MB / 0.6176 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.2081, allocations: 1.846 MB / 0.6194 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000736/0.2089, allocations: 0.806 MB / 0.6202 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.2093, allocations: 215.9 kB / 0.6204 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.2128, allocations: 2.754 MB / 0.6231 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2128, allocations: 4 kB / 0.6231 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.2129, allocations: 80 kB / 0.6231 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.213, allocations: 52 kB / 0.6232 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.2161, allocations: 2.141 MB / 0.6253 GB, free: 12.16 MB / 0.5417 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.009633/0.2257, allocations: 7.669 MB / 0.6328 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.229, allocations: 2.011 MB / 0.6347 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.2303, allocations: 0.9269 MB / 0.6356 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.2304, allocations: 29.3 kB / 0.6357 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.2322, allocations: 1.494 MB / 0.6371 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=184): time 3.136e-06/0.2322, allocations: 0 / 0.6371 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=184): time 0.006523/0.2387, allocations: 3.858 MB / 0.6409 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004837/0.2392, allocations: 316 kB / 0.6412 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.2418, allocations: 2.375 MB / 0.6435 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.242, allocations: 77.7 kB / 0.6436 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/0.2427, allocations: 1.093 MB / 0.6447 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/0.2433, allocations: 0.6433 MB / 0.6453 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.2439, allocations: 0.565 MB / 0.6458 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.244, allocations: 305.1 kB / 0.6461 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.2458, allocations: 1.297 MB / 0.6474 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.248, allocations: 1.901 MB / 0.6492 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.2598, allocations: 6.539 MB / 0.6556 GB, free: 12.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.2598, allocations: 7.984 kB / 0.6556 GB, free: 12.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005922/0.2657, allocations: 3.954 MB / 0.6595 GB, free: 8.371 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.2658, allocations: 61.67 kB / 0.6596 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.2658, allocations: 16.02 kB / 0.6596 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.2664, allocations: 448.6 kB / 0.66 GB, free: 7.848 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.2681, allocations: 0.5968 MB / 0.6606 GB, free: 7.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.2718, allocations: 3.443 MB / 0.6639 GB, free: 3.699 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.2735, allocations: 330.2 kB / 0.6643 GB, free: 3.375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.2737, allocations: 104 kB / 0.6644 GB, free: 3.273 MB / 0.573 GB Warning: Assuming fixed start value for the following 27 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.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = 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.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002883/0.2766, allocations: 1.852 MB / 0.6662 GB, free: 1.414 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001992/0.2786, allocations: 1.889 MB / 0.668 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01119/0.2898, allocations: 6.496 MB / 0.6744 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.097e-05/0.2898, allocations: 0 / 0.6744 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=399) (initialization_lambda0): time 0.005869/0.2956, allocations: 3.934 MB / 0.6782 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.2957, allocations: 61.67 kB / 0.6783 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2957, allocations: 8 kB / 0.6783 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.2962, allocations: 454.8 kB / 0.6787 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.2976, allocations: 0.5928 MB / 0.6793 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.3012, allocations: 3.45 MB / 0.6827 GB, free: 20 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2965/0.5977, allocations: 292 kB / 0.6829 GB, free: 99.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.598, allocations: 106.5 kB / 0.683 GB, free: 99.95 MB / 0.5886 GB Warning: Assuming fixed start value for the following 27 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.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = 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.LvTfo.running.value:DISCRETE(flow=false start = PV.LvTfo.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.PConv0Pu 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.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean PV.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real PV.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean 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: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.PV.LvTfo.state,PV.LvTfo.state,$PRE.PV.source.state,PV.source.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.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.source.running.value,$PRE.PV.LvTfo.running.value,$PRE.PV.wecc_reec.iqInjectionLogic.vDip,$PRE.PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_regc.QConv0PuPos.k,PV.wecc_regc.and1.u[1],PV.wecc_regc.QConv0PuPos.y,PV.wecc_regc.QConv0PuNeg.k,PV.wecc_regc.and2.u[2],PV.wecc_regc.QConv0PuNeg.y,$PRE.PV.wecc_reec.currentLimitsCalculation1.vDip,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.iqInjectionLogic.vDip,PV.LvTfo.running.value,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,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition20,$whenCondition19,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (361): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007936/0.5988, allocations: 476.2 kB / 0.6835 GB, free: 99.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/0.5993, allocations: 268.6 kB / 0.6837 GB, free: 99.74 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/0.6043, allocations: 2.819 MB / 0.6865 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.6044, allocations: 19.94 kB / 0.6865 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.6044, allocations: 6.281 kB / 0.6865 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.6044, allocations: 10.28 kB / 0.6865 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008725/0.6131, allocations: 5.774 MB / 0.6922 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.6131, allocations: 5.469 kB / 0.6922 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.6145, allocations: 372.8 kB / 0.6925 GB, free: 97.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006115/0.6151, allocations: 436.4 kB / 0.6929 GB, free: 97.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.6152, allocations: 58.31 kB / 0.693 GB, free: 97.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.6187, allocations: 3.437 MB / 0.6964 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6187, allocations: 7 kB / 0.6964 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/0.6252, allocations: 4.535 MB / 0.7008 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.6265, allocations: 0.5631 MB / 0.7013 GB, free: 92.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.6267, allocations: 66.64 kB / 0.7014 GB, free: 92.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.6276, allocations: 146.6 kB / 0.7015 GB, free: 92.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/0.628, allocations: 222.5 kB / 0.7018 GB, free: 92.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6282, allocations: 73.77 kB / 0.7018 GB, free: 92.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002219/0.6304, allocations: 1.542 MB / 0.7033 GB, free: 91.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6304, allocations: 4.125 kB / 0.7033 GB, free: 91.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003364/0.6337, allocations: 1.232 MB / 0.7045 GB, free: 91.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 14 (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.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 39 ($whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,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.LvTfo.running.value,PV.LvTfo.state,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$whenCondition8,$whenCondition6,$whenCondition7,PV.injector.running.value,PV.injector.state) * Number of discrete states: 10 (PV.injector.running.value,PV.LvTfo.running.value,PV.source.running.value,line.running.value,PV.wecc_regc.offDelay.u,PV.wecc_reec.currentLimitsCalculation1.vDip,PV.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,PV.wecc_reec.currentLimitsCalculation1.ipMaxPu,PV.wecc_reec.iqInjectionLogic.vDip,PV.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,6,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007333/0.6411, allocations: 5.511 MB / 0.7099 GB, free: 88.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007873/0.649, allocations: 5.194 MB / 0.715 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.649, allocations: 0 / 0.715 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.6516, allocations: 1.684 MB / 0.7166 GB, free: 85.71 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.6535, allocations: 379.5 kB / 0.717 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.6829, allocations: 24.29 MB / 0.7407 GB, free: 64.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.6837, allocations: 1.078 MB / 0.7418 GB, free: 63.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0014/0.6851, allocations: 360.8 kB / 0.7421 GB, free: 62.93 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009088/0.686, allocations: 1.082 MB / 0.7432 GB, free: 61.85 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.686, allocations: 0 / 0.7432 GB, free: 61.85 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07815/0.7641, allocations: 65.73 MB / 0.8074 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/10.17, allocations: 3.984 kB / 0.8074 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 650] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_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_PVVoltageSourceNoPPC.fmu > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PV.LvMeasurements.PPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.PPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! Error: Could not read variable PV.LvMeasurements.QPuSnRef in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.QPuSnRef from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! Error: Could not read variable PV.LvMeasurements.UPu in file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv. Warning: Get data of variable PV.LvMeasurements.UPu from file Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceNoPPC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.10573540115729]