Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.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.001804/0.001804, allocations: 104.3 kB / 19.72 MB, free: 1.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 210.8 kB / 23.01 MB, free: 4.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.6133/0.6133, allocations: 103.8 MB / 389.9 MB, free: 21.2 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") translateModel(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB") [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.002269/0.002269, allocations: 72.94 kB / 0.5521 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1301, allocations: 75.99 MB / 0.6263 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01092/0.1411, allocations: 10.91 MB / 0.637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.1545, allocations: 5.884 MB / 0.6427 GB, free: 7.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.1578, allocations: 91.31 kB / 0.6428 GB, free: 7.656 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.002417/0.1602, allocations: 0.5804 MB / 0.6434 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.1647, allocations: 1.129 MB / 0.6445 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.1708, allocations: 2.672 MB / 0.6471 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007029/0.1779, allocations: 4.544 MB / 0.6515 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.1804, allocations: 1.182 MB / 0.6527 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.1832, allocations: 1.665 MB / 0.6543 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.1862, allocations: 1.699 MB / 0.656 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.1873, allocations: 500 kB / 0.6565 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.189, allocations: 0.7147 MB / 0.6572 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.19, allocations: 0.9539 MB / 0.6581 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.1922, allocations: 1.453 MB / 0.6595 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.2006, allocations: 5.97 MB / 0.6653 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.2006, allocations: 4 kB / 0.6653 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2006, allocations: 0 / 0.6653 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.2007, allocations: 0 / 0.6653 GB, free: 484 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01434/0.2151, allocations: 4.617 MB / 0.6699 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.2151, allocations: 16.03 kB / 0.6699 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006327/0.2215, allocations: 1.068 MB / 0.6709 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.2269, allocations: 2.342 MB / 0.6732 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007113/0.2276, allocations: 0.7298 MB / 0.6739 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007169/0.2283, allocations: 251.9 kB / 0.6742 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00727/0.2356, allocations: 3.616 MB / 0.6777 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.2356, allocations: 15.88 kB / 0.6777 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.2359, allocations: 104 kB / 0.6778 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.236, allocations: 63.94 kB / 0.6779 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/0.2421, allocations: 2.619 MB / 0.6804 GB, free: 468 kB / 0.4981 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.02012/0.2622, allocations: 9.605 MB / 0.6898 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007539/0.2698, allocations: 2.835 MB / 0.6926 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.2725, allocations: 1.172 MB / 0.6937 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.2726, allocations: 25.98 kB / 0.6937 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00341/0.276, allocations: 1.76 MB / 0.6955 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.739e-06/0.276, allocations: 0 / 0.6955 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01226/0.2883, allocations: 4.433 MB / 0.6998 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000348/0.2886, allocations: 0.5391 MB / 0.7003 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/0.2925, allocations: 2.241 MB / 0.7025 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004754/0.293, allocations: 69.7 kB / 0.7026 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.2945, allocations: 1.391 MB / 0.7039 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.2955, allocations: 0.6817 MB / 0.7046 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/0.2962, allocations: 387.7 kB / 0.705 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2964, allocations: 309.1 kB / 0.7053 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/0.2989, allocations: 1.151 MB / 0.7064 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.3022, allocations: 2.099 MB / 0.7084 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/0.3214, allocations: 6.15 MB / 0.7144 GB, free: 12.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.3214, allocations: 4 kB / 0.7144 GB, free: 12.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009815/0.3312, allocations: 3.639 MB / 0.718 GB, free: 9.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.3313, allocations: 41.14 kB / 0.718 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.3313, allocations: 8 kB / 0.718 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/0.3321, allocations: 484.7 kB / 0.7185 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.3349, allocations: 0.5071 MB / 0.719 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/0.335, allocations: 27.92 kB / 0.719 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.3375, allocations: 298.7 kB / 0.7193 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.3377, allocations: 84.05 kB / 0.7194 GB, free: 7.57 MB / 0.545 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003836/0.3415, allocations: 1.715 MB / 0.7211 GB, free: 5.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002987/0.3445, allocations: 2.041 MB / 0.7231 GB, free: 3.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0184/0.3629, allocations: 5.998 MB / 0.7289 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-05/0.3629, allocations: 11.98 kB / 0.7289 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009157/0.372, allocations: 3.534 MB / 0.7324 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.3721, allocations: 45.62 kB / 0.7324 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3721, allocations: 15.94 kB / 0.7324 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/0.3728, allocations: 480.6 kB / 0.7329 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.3756, allocations: 499.3 kB / 0.7334 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.945e-05/0.3756, allocations: 27.92 kB / 0.7334 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.3783, allocations: 290.8 kB / 0.7337 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.3786, allocations: 83.98 kB / 0.7337 GB, free: 8.332 MB / 0.5606 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.source.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.source.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) PV.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = PV.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean PV.line.running.value:DISCRETE(flow=false start = PV.line.Running0 fixed = true ) type: Boolean PV.wecc_regc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_regc.rateLimFirstOrderFreeze.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.VSourceRef.firstOrder.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.VSourceRef.firstOrder1.y:VARIABLE(flow=false start = PV.VSourceRef.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.source.running.value:DISCRETE(flow=false start = PV.source.Running0 fixed = true ) type: Boolean PV.wecc_repc.firstOrder.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = PV.wecc_repc.leadLag.a_end * PV.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] PV.wecc_reec.firstOrder.y:VARIABLE(flow=false start = PV.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = PV.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = PV.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder2.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real PV.wecc_reec.firstOrder3.y:VARIABLE(flow=false start = PV.wecc_reec.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.PV.injector.state,PV.injector.state,$PRE.PV.injector.running.value,PV.injector.running.value,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.PV.source.state,PV.source.state,$PRE.PV.line.state,PV.line.state,$PRE.line.state,line.state,PV.injector.switchOffSignal3.value,PV.injector.switchOffSignal2.value,PV.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,PV.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,PV.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.PV.line.running.value,$PRE.PV.source.running.value,PV.wecc_reec.frtOn,PV.wecc_repc.freeze,PV.source.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.y,PV.line.running.value,line.running.value,$whenCondition14,$whenCondition13,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition11,$whenCondition10,$whenCondition12,PV.wecc_reec.varLimPIDFreeze.I.resetLocal,PV.wecc_reec.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPIDFreeze.I.resetLocal,PV.wecc_repc.limPID.I.local_reset,PV.VSourceRef.pll.limIntegrator.local_reset,PV.VSourceRef.pll.integrator.local_reset,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 (260): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.3796, allocations: 496.9 kB / 0.7342 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008131/0.3804, allocations: 298 kB / 0.7345 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00855/0.3889, allocations: 3.354 MB / 0.7378 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.3889, allocations: 20 kB / 0.7378 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.389, allocations: 4 kB / 0.7378 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.389, allocations: 11.97 kB / 0.7378 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.4024, allocations: 6.13 MB / 0.7438 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.4024, allocations: 0 / 0.7438 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/0.4052, allocations: 435.4 kB / 0.7442 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.4059, allocations: 464.5 kB / 0.7447 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.4062, allocations: 51.98 kB / 0.7447 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.4062, allocations: 8 kB / 0.7447 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4062, allocations: 0 / 0.7447 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.4177, allocations: 5.146 MB / 0.7497 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.4194, allocations: 0.6146 MB / 0.7503 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.4198, allocations: 55.98 kB / 0.7504 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.4216, allocations: 191.7 kB / 0.7506 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.422, allocations: 173.7 kB / 0.7507 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.4222, allocations: 63.92 kB / 0.7508 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002526/0.4247, allocations: 1.493 MB / 0.7523 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4247, allocations: 0 / 0.7523 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003178/0.4279, allocations: 1.145 MB / 0.7534 GB, free: 4.066 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 25 (PV.wecc_regc.firstOrder.y,PV.wecc_regc.rateLimFirstOrderFreeze.y,PV.wecc_regc.rateLimFirstOrderFreeze1.y,PV.pll.integrator.y,PV.pll.limIntegrator.y,PV.VSourceRef.firstOrder.y,PV.VSourceRef.firstOrder1.y,PV.VSourceRef.pll.integrator.y,PV.VSourceRef.pll.limIntegrator.y,PV.wecc_repc.firstOrder.y,PV.wecc_repc.limPID.I.y,PV.wecc_repc.firstOrder1.y,PV.wecc_repc.firstOrder2.y,PV.wecc_repc.firstOrder3.y,PV.wecc_repc.limPIDFreeze.I.y,PV.wecc_repc.leadLag.x_scaled[1],PV.wecc_reec.firstOrder.y,PV.wecc_reec.firstOrder1.y,PV.wecc_reec.limPIDFreeze.I.y,PV.wecc_reec.varLimPIDFreeze.I.y,PV.wecc_reec.rateLimFirstOrderFreeze1.y,PV.wecc_reec.slewRateLimiter.y,PV.wecc_reec.rateLimFirstOrderFreeze.y,PV.wecc_reec.firstOrder2.y,PV.wecc_reec.firstOrder3.y) * Number of discrete variables: 27 ($whenCondition12,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition13,$whenCondition14,line.running.value,line.state,PV.line.running.value,PV.line.state,PV.wecc_regc.offDelay.y,PV.wecc_regc.offDelay.delaySignal,PV.wecc_regc.offDelay.tNext,PV.source.running.value,PV.source.state,PV.wecc_repc.freeze,PV.wecc_reec.frtOn,$whenCondition9,$whenCondition7,$whenCondition8,PV.injector.running.value,PV.injector.state) * Number of discrete states: 8 (PV.injector.running.value,PV.source.running.value,PV.line.running.value,line.running.value,PV.wecc_regc.offDelay.tNext,PV.wecc_regc.offDelay.delaySignal,$whenCondition14,$whenCondition13) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * 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 {(12,41.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005906/0.4285, allocations: 233.5 kB / 0.7536 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.4385, allocations: 4.419 MB / 0.7579 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4385, allocations: 0 / 0.7579 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/0.4419, allocations: 1.486 MB / 0.7594 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.4446, allocations: 0.5128 MB / 0.7599 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.4574, allocations: 5.84 MB / 0.7656 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.4588, allocations: 1.221 MB / 0.7668 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001847/0.4606, allocations: 324.7 kB / 0.7671 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/0.4613, allocations: 175.4 kB / 0.7672 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/0.4613, allocations: 4 kB / 0.7672 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.3618/0.8231, allocations: 41.4 MB / 0.8077 GB, free: 141.6 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; mkfifo Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe >> ../files/Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.sim & ./Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.333009707275778] Failed to read output from testmodel.py, exit status != 0: 1.055781678762287 0.8412553740000001 0.638248016 Calling exit ...