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.00147/0.00147, allocations: 100.3 kB / 20.5 MB, free: 1.363 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.00156/0.00156, allocations: 224.6 kB / 23.8 MB, free: 4.531 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.405/1.405, 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 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.5982/0.5982, allocations: 103.8 MB / 390.7 MB, free: 21.44 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: "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 68.64 kB / 0.5524 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1352, allocations: 76 MB / 0.6266 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.0112/0.1464, allocations: 10.89 MB / 0.6373 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.1579, allocations: 5.864 MB / 0.643 GB, free: 8.438 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.161, allocations: 91.31 kB / 0.6431 GB, free: 8.348 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.002287/0.1633, allocations: 0.5879 MB / 0.6437 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.1676, allocations: 1.129 MB / 0.6448 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005891/0.1735, allocations: 2.676 MB / 0.6474 GB, free: 3.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007041/0.1805, allocations: 4.54 MB / 0.6518 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.1831, allocations: 1.178 MB / 0.653 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.1857, allocations: 1.662 MB / 0.6546 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.1882, allocations: 1.706 MB / 0.6562 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009343/0.1891, allocations: 0.4922 MB / 0.6567 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1904, allocations: 0.7147 MB / 0.6574 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008942/0.1913, allocations: 0.9538 MB / 0.6584 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.1931, allocations: 1.453 MB / 0.6598 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007941/0.2011, allocations: 5.98 MB / 0.6656 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2011, allocations: 0 / 0.6656 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2011, allocations: 0 / 0.6656 GB, free: 1.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.2012, allocations: 4 kB / 0.6656 GB, free: 1.148 MB / 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.01326/0.2145, allocations: 4.62 MB / 0.6701 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2145, allocations: 8.031 kB / 0.6701 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.785e-05/0.2146, allocations: 60.84 kB / 0.6702 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005064/0.2151, allocations: 349.5 kB / 0.6705 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005889/0.221, allocations: 1.068 MB / 0.6716 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.2258, allocations: 2.342 MB / 0.6739 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006593/0.2265, allocations: 0.7294 MB / 0.6746 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/0.2271, allocations: 252 kB / 0.6748 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/0.2342, allocations: 3.62 MB / 0.6783 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.2342, allocations: 7.938 kB / 0.6784 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.2345, allocations: 104 kB / 0.6785 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/0.2345, allocations: 60 kB / 0.6785 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006329/0.2409, allocations: 2.627 MB / 0.6811 GB, free: 0.7266 MB / 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.01977/0.2606, allocations: 9.983 MB / 0.6908 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.2679, allocations: 2.831 MB / 0.6936 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.2705, allocations: 1.168 MB / 0.6947 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.2706, allocations: 29.98 kB / 0.6948 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003336/0.274, allocations: 1.76 MB / 0.6965 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.178e-06/0.274, allocations: 0 / 0.6965 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01233/0.2863, allocations: 4.452 MB / 0.7008 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003493/0.2867, allocations: 0.5391 MB / 0.7014 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.2913, allocations: 2.558 MB / 0.7038 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004504/0.2918, allocations: 69.7 kB / 0.7039 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.2932, allocations: 1.374 MB / 0.7053 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009451/0.2942, allocations: 0.6895 MB / 0.7059 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007654/0.2949, allocations: 383.7 kB / 0.7063 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2951, allocations: 305.1 kB / 0.7066 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.2976, allocations: 1.155 MB / 0.7077 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.3009, allocations: 2.091 MB / 0.7098 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01913/0.32, allocations: 6.154 MB / 0.7158 GB, free: 12.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.3201, allocations: 4 kB / 0.7158 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.009408/0.3295, allocations: 3.674 MB / 0.7194 GB, free: 8.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.3295, allocations: 45.89 kB / 0.7194 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.3296, allocations: 12 kB / 0.7194 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007347/0.3303, allocations: 468.6 kB / 0.7199 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.3329, allocations: 0.5032 MB / 0.7204 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.709e-05/0.3329, allocations: 31.92 kB / 0.7204 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.3354, allocations: 342.2 kB / 0.7207 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.3356, allocations: 79.98 kB / 0.7208 GB, free: 7.059 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.003853/0.3394, allocations: 1.712 MB / 0.7225 GB, free: 5.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00311/0.3425, allocations: 2.041 MB / 0.7245 GB, free: 2.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0188/0.3613, allocations: 6.017 MB / 0.7303 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.437e-05/0.3613, allocations: 0 / 0.7303 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009203/0.3705, allocations: 3.572 MB / 0.7338 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.3706, allocations: 41.69 kB / 0.7339 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3706, allocations: 8 kB / 0.7339 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007277/0.3713, allocations: 477.4 kB / 0.7343 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.374, allocations: 0.4915 MB / 0.7348 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.55e-05/0.374, allocations: 27.92 kB / 0.7348 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.3765, allocations: 286.8 kB / 0.7351 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.3767, allocations: 79.98 kB / 0.7352 GB, free: 7.793 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.000953/0.3777, allocations: 493.9 kB / 0.7356 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/0.3784, allocations: 326 kB / 0.736 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/0.3871, allocations: 3.377 MB / 0.7393 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.3871, allocations: 16 kB / 0.7393 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3872, allocations: 4 kB / 0.7393 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.3872, allocations: 7.969 kB / 0.7393 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.4013, allocations: 6.396 MB / 0.7455 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4013, allocations: 3.938 kB / 0.7455 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/0.4041, allocations: 439.4 kB / 0.7459 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/0.4048, allocations: 460.6 kB / 0.7464 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/0.4051, allocations: 47.98 kB / 0.7464 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.4051, allocations: 8 kB / 0.7464 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4051, allocations: 0 / 0.7464 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.417, allocations: 5.182 MB / 0.7515 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.4191, allocations: 0.6613 MB / 0.7521 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.4196, allocations: 56.05 kB / 0.7522 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.4215, allocations: 187.7 kB / 0.7524 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/0.422, allocations: 181.7 kB / 0.7526 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.4221, allocations: 59.97 kB / 0.7526 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003091/0.4252, allocations: 1.716 MB / 0.7543 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4252, allocations: 0 / 0.7543 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002926/0.4281, allocations: 1.084 MB / 0.7553 GB, free: 2.977 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.01197/0.4401, allocations: 5.873 MB / 0.7611 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.4504, allocations: 4.416 MB / 0.7654 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4504, allocations: 0 / 0.7654 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.4537, allocations: 1.486 MB / 0.7668 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.4566, allocations: 0.5359 MB / 0.7674 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3411/0.7977, allocations: 26.06 MB / 0.7928 GB, free: 147.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.7996, allocations: 1.214 MB / 0.794 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002183/0.8018, allocations: 347 kB / 0.7943 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/0.8035, allocations: 1.258 MB / 0.7956 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/0.8035, allocations: 0 / 0.7956 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.9063, allocations: 70.65 MB / 0.8646 GB, free: 85.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/19.06, allocations: 3.281 kB / 0.8646 GB, free: 85.88 MB / 0.6075 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB.fmu > Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.490016908035614] Failed to read output from testmodel.py, exit status != 0: 19.531355022103526 19.295010843 19.088508434 Calling exit ...