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.00146/0.00146, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002161/0.002161, allocations: 208.5 kB / 23.01 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.7102/0.7102, allocations: 118.2 MB / 404.3 MB, free: 14.4 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.0022/0.0022, allocations: 73.55 kB / 0.5732 GB, free: 40.08 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.157, allocations: 79.63 MB / 0.651 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource): time 0.01435/0.1714, allocations: 10.44 MB / 0.6612 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1834, allocations: 5.586 MB / 0.6666 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.1867, allocations: 79.44 kB / 0.6667 GB, free: 6.996 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.002279/0.189, allocations: 0.5418 MB / 0.6672 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.1926, allocations: 0.7795 MB / 0.668 GB, free: 5.664 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.006436/0.1991, allocations: 2.727 MB / 0.6707 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006414/0.2055, allocations: 4.154 MB / 0.6747 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.2077, allocations: 1.015 MB / 0.6757 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.2102, allocations: 1.521 MB / 0.6772 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.2122, allocations: 1.418 MB / 0.6786 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006519/0.2129, allocations: 468 kB / 0.679 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.2141, allocations: 0.703 MB / 0.6797 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.2149, allocations: 0.8799 MB / 0.6806 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.2163, allocations: 1.345 MB / 0.6819 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.2228, allocations: 5.492 MB / 0.6872 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.2228, allocations: 4 kB / 0.6872 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.095e-06/0.2228, allocations: 0 / 0.6872 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001196/0.2229, allocations: 0 / 0.6872 GB, free: 1.836 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.0119/0.2348, allocations: 4.286 MB / 0.6914 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2349, allocations: 12.03 kB / 0.6914 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.2392, allocations: 0.8692 MB / 0.6923 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.2433, allocations: 2.114 MB / 0.6944 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006753/0.244, allocations: 0.7718 MB / 0.6951 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.2444, allocations: 228.1 kB / 0.6953 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/0.2504, allocations: 3.235 MB / 0.6985 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.2504, allocations: 4 kB / 0.6985 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.2506, allocations: 96 kB / 0.6986 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.2507, allocations: 52 kB / 0.6986 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00583/0.2565, allocations: 2.463 MB / 0.701 GB, free: 3.168 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.273, allocations: 8.426 MB / 0.7093 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.2797, allocations: 2.65 MB / 0.7118 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.2821, allocations: 1.064 MB / 0.7129 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.2823, allocations: 33.34 kB / 0.7129 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003065/0.2854, allocations: 1.476 MB / 0.7144 GB, free: 5.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.008e-06/0.2854, allocations: 0 / 0.7144 GB, free: 5.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=186): time 0.01027/0.2957, allocations: 3.83 MB / 0.7181 GB, free: 1.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000315/0.296, allocations: 470.9 kB / 0.7186 GB, free: 0.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/0.2999, allocations: 2.181 MB / 0.7207 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004944/0.3004, allocations: 65.7 kB / 0.7207 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.302, allocations: 1.217 MB / 0.7219 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.303, allocations: 0.6741 MB / 0.7226 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.3041, allocations: 0.5528 MB / 0.7231 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3042, allocations: 305.1 kB / 0.7234 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.3071, allocations: 1.327 MB / 0.7247 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.3107, allocations: 2.187 MB / 0.7269 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0214/0.3321, allocations: 6.702 MB / 0.7334 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.3321, allocations: 3.938 kB / 0.7334 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.009581/0.3417, allocations: 3.907 MB / 0.7372 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/0.3418, allocations: 63.48 kB / 0.7373 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.3418, allocations: 8.688 kB / 0.7373 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.3423, allocations: 320.7 kB / 0.7376 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/0.3455, allocations: 0.6436 MB / 0.7382 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.479e-05/0.3456, allocations: 27.92 kB / 0.7382 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.3482, allocations: 342.3 kB / 0.7386 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.3484, allocations: 99.98 kB / 0.7387 GB, free: 11.73 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.004097/0.3525, allocations: 1.857 MB / 0.7405 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003402/0.3559, allocations: 2.128 MB / 0.7426 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02056/0.3765, allocations: 6.554 MB / 0.749 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-05/0.3765, allocations: 4 kB / 0.749 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.009032/0.3855, allocations: 3.814 MB / 0.7527 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.3856, allocations: 57.67 kB / 0.7527 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3856, allocations: 8 kB / 0.7528 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.3861, allocations: 317.2 kB / 0.7531 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.3891, allocations: 0.6319 MB / 0.7537 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.17e-05/0.3892, allocations: 31.91 kB / 0.7537 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.3916, allocations: 322.8 kB / 0.754 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.3918, allocations: 99.98 kB / 0.7541 GB, free: 11.41 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.0009068/0.3927, allocations: 467.7 kB / 0.7546 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.3932, allocations: 270.3 kB / 0.7548 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007191/0.4004, allocations: 2.95 MB / 0.7577 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4005, allocations: 20 kB / 0.7577 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.4005, allocations: 4 kB / 0.7577 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4005, allocations: 7.969 kB / 0.7577 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.4127, allocations: 5.669 MB / 0.7633 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.4128, allocations: 4 kB / 0.7633 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002637/0.4154, allocations: 439.9 kB / 0.7637 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.4159, allocations: 308.7 kB / 0.764 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.4161, allocations: 51.98 kB / 0.764 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.4161, allocations: 11.94 kB / 0.764 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4161, allocations: 4 kB / 0.764 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/0.4265, allocations: 4.667 MB / 0.7686 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.4285, allocations: 0.5759 MB / 0.7692 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005232/0.429, allocations: 59.92 kB / 0.7692 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.4308, allocations: 179.8 kB / 0.7694 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.4312, allocations: 173.6 kB / 0.7696 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.4314, allocations: 63.97 kB / 0.7696 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002632/0.434, allocations: 1.406 MB / 0.771 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.434, allocations: 0 / 0.771 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003508/0.4375, allocations: 1.204 MB / 0.7722 GB, free: 8.727 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.00056/0.4381, allocations: 227.4 kB / 0.7724 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.4489, allocations: 4.817 MB / 0.7771 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.4489, allocations: 4.938 kB / 0.7771 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/0.4522, allocations: 1.411 MB / 0.7785 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.4547, allocations: 427.3 kB / 0.7789 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/0.7995, allocations: 5.383 MB / 0.7841 GB, free: 124.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.8012, allocations: 1.124 MB / 0.7852 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002219/0.8034, allocations: 345.2 kB / 0.7856 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.804, allocations: 165.1 kB / 0.7857 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/0.804, allocations: 0 / 0.7857 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.0591/0.8632, allocations: 37.45 MB / 0.8223 GB, free: 103.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Photovoltaics.WECC.PVCurrentSource_res.csv","/var/lib/jenkins/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: 8.006138633936644]