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.001885/0.001885, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.001731/0.001731, allocations: 220.8 kB / 23.77 MB, free: 4.516 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.729/1.729, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.706/0.706, allocations: 115.8 MB / 402.6 MB, free: 16.03 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|PV.injector.PInjPu|PV.injector.QInjPu|PV.pll.omegaPLLPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003196/0.003196, allocations: 71.81 kB / 0.5704 GB, free: 41.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2189, allocations: 79.01 MB / 0.6476 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01651/0.2354, allocations: 10.43 MB / 0.6578 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.2494, allocations: 5.586 MB / 0.6632 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004235/0.2536, allocations: 83.38 kB / 0.6633 GB, free: 10.9 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.002429/0.256, allocations: 0.5373 MB / 0.6638 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.26, allocations: 0.7834 MB / 0.6646 GB, free: 9.574 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.006714/0.2667, allocations: 2.73 MB / 0.6673 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006975/0.2737, allocations: 4.158 MB / 0.6713 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.2757, allocations: 1.015 MB / 0.6723 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.2782, allocations: 1.518 MB / 0.6738 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.2801, allocations: 1.418 MB / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006446/0.2807, allocations: 464 kB / 0.6756 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.2821, allocations: 0.7068 MB / 0.6763 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009049/0.283, allocations: 0.8799 MB / 0.6772 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.2846, allocations: 1.349 MB / 0.6785 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.2923, allocations: 5.484 MB / 0.6838 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2923, allocations: 0 / 0.6838 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2923, allocations: 0 / 0.6838 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001543/0.2925, allocations: 0 / 0.6838 GB, free: 5.754 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: 555 * Number of variables: 555 Notification: Performance of Generate backend data structure: time 0.01322/0.3057, allocations: 4.278 MB / 0.688 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3058, allocations: 12.03 kB / 0.688 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.3104, allocations: 0.877 MB / 0.6889 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/0.3149, allocations: 2.11 MB / 0.6909 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007775/0.3156, allocations: 0.7679 MB / 0.6917 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/0.316, allocations: 236 kB / 0.6919 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.3226, allocations: 3.231 MB / 0.6951 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.3227, allocations: 3.938 kB / 0.6951 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.3229, allocations: 104 kB / 0.6952 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.3229, allocations: 52 kB / 0.6952 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005849/0.3288, allocations: 2.46 MB / 0.6976 GB, free: 7.082 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.01678/0.3456, allocations: 8.426 MB / 0.7059 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/0.3526, allocations: 2.656 MB / 0.7085 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.3551, allocations: 1.068 MB / 0.7095 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.3553, allocations: 37.23 kB / 0.7095 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00329/0.3586, allocations: 1.469 MB / 0.711 GB, free: 9.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.789e-06/0.3586, allocations: 0 / 0.711 GB, free: 9.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01113/0.3697, allocations: 3.822 MB / 0.7147 GB, free: 5.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003458/0.3701, allocations: 470.9 kB / 0.7151 GB, free: 4.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.3742, allocations: 2.181 MB / 0.7173 GB, free: 2.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000484/0.3747, allocations: 65.7 kB / 0.7173 GB, free: 2.555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.3764, allocations: 1.21 MB / 0.7185 GB, free: 1.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.3777, allocations: 0.678 MB / 0.7192 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.3788, allocations: 0.5567 MB / 0.7197 GB, free: 84 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.379, allocations: 309.1 kB / 0.72 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.3822, allocations: 1.323 MB / 0.7213 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.3861, allocations: 2.187 MB / 0.7234 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0227/0.4088, allocations: 6.714 MB / 0.73 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.4089, allocations: 4 kB / 0.73 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01061/0.4195, allocations: 3.911 MB / 0.7338 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/0.4196, allocations: 54.36 kB / 0.7339 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.4196, allocations: 12 kB / 0.7339 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.4202, allocations: 316.7 kB / 0.7342 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.4234, allocations: 0.6436 MB / 0.7348 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.679e-05/0.4235, allocations: 27.92 kB / 0.7348 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.4263, allocations: 346.5 kB / 0.7352 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/0.4266, allocations: 104 kB / 0.7353 GB, free: 15.62 MB / 0.5762 GB Warning: Assuming fixed start value for the following 26 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004599/0.4312, allocations: 1.846 MB / 0.7371 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003811/0.435, allocations: 2.132 MB / 0.7392 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02103/0.4561, allocations: 6.566 MB / 0.7456 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-05/0.4561, allocations: 4 kB / 0.7456 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.009404/0.4655, allocations: 3.81 MB / 0.7493 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/0.4656, allocations: 57.61 kB / 0.7494 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4656, allocations: 12 kB / 0.7494 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.4661, allocations: 321.4 kB / 0.7497 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.4692, allocations: 0.6241 MB / 0.7503 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.362e-05/0.4693, allocations: 35.86 kB / 0.7503 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.4723, allocations: 314.9 kB / 0.7506 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.4725, allocations: 99.98 kB / 0.7507 GB, free: 15.3 MB / 0.5919 GB Warning: Assuming fixed start value for the following 26 variables: PV.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean PV.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real PV.injector.running.value:DISCRETE(flow=false start = PV.injector.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.X0[1] * PV.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.line.state,PV.line.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.wecc_regc.offDelay.delaySignal,$PRE.PV.wecc_regc.offDelay.tNext,$PRE.PV.injector.running.value,PV.wecc_regc.Qinj0PuNeg.k,PV.wecc_regc.QInj0PuPos.k,$PRE.PV.wecc_regc.offDelay.u,PV.wecc_repc.freeze,PV.injector.running.value,PV.wecc_regc.and2.y,PV.wecc_regc.and1.y,PV.wecc_regc.and1.u[2],PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.u,PV.line.running.value,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.pll.limIntegrator.local_reset,PV.pll.integrator.local_reset,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.4739, allocations: 482.3 kB / 0.7512 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.475, allocations: 274.3 kB / 0.7514 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/0.4834, allocations: 2.942 MB / 0.7543 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.4835, allocations: 20 kB / 0.7543 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4835, allocations: 0 / 0.7543 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.4835, allocations: 7.969 kB / 0.7543 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.4964, allocations: 5.673 MB / 0.7599 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.4965, allocations: 7.938 kB / 0.7599 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/0.4991, allocations: 431.4 kB / 0.7603 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.4996, allocations: 308.7 kB / 0.7606 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.4998, allocations: 51.98 kB / 0.7606 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.4998, allocations: 15.94 kB / 0.7607 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.4998, allocations: 7.984 kB / 0.7607 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.5109, allocations: 4.663 MB / 0.7652 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/0.5127, allocations: 0.576 MB / 0.7658 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.513, allocations: 55.98 kB / 0.7658 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/0.5148, allocations: 179.8 kB / 0.766 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/0.5152, allocations: 169.4 kB / 0.7662 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.5153, allocations: 67.97 kB / 0.7662 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002619/0.5179, allocations: 1.406 MB / 0.7676 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5179, allocations: 0 / 0.7676 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003439/0.5214, allocations: 1.204 MB / 0.7688 GB, free: 12.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y,PV.wecc_regc.rateLimFirstOrderFreeze2.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.wecc_regc.firstOrder.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.u,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.and1.u[2],PV.wecc_regc.and1.y,PV.wecc_regc.and2.y,PV.injector.running.value,PV.injector.state,PV.wecc_repc.freeze) * Number of discrete states: 4 (PV.injector.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005862/0.522, allocations: 223.4 kB / 0.769 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01165/0.5336, allocations: 4.833 MB / 0.7737 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.5336, allocations: 4.062 kB / 0.7737 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.5372, allocations: 1.419 MB / 0.7751 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.5399, allocations: 421.4 kB / 0.7755 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.5531, allocations: 5.457 MB / 0.7808 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4056/0.9587, allocations: 1.118 MB / 0.7819 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.9602, allocations: 179.8 kB / 0.7821 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.893e-06/0.9602, allocations: 0 / 0.7821 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.09148/1.052, allocations: 52.48 MB / 0.8333 GB, free: 94.79 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.824868686962873]