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.001426/0.001426, allocations: 108.3 kB / 19.72 MB, free: 2.059 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.001561/0.001561, allocations: 205.9 kB / 23.01 MB, free: 4.879 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.434/1.434, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.6305/0.6305, allocations: 103.8 MB / 389.9 MB, free: 21.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB,fileNamePrefix="Dynawo_Dynawo_Examples_Photovoltaics_WECC_PVVoltageSourceB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 74.28 kB / 0.5517 GB, free: 58.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1509, allocations: 76 MB / 0.6259 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB): time 0.01156/0.1625, allocations: 10.91 MB / 0.6365 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.1751, allocations: 5.868 MB / 0.6423 GB, free: 8.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003481/0.1786, allocations: 95.31 kB / 0.6423 GB, free: 8.152 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.002403/0.181, allocations: 0.584 MB / 0.6429 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.1858, allocations: 1.133 MB / 0.644 GB, free: 6.426 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.1922, allocations: 2.666 MB / 0.6466 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008944/0.2011, allocations: 4.54 MB / 0.6511 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.2043, allocations: 1.184 MB / 0.6522 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.2076, allocations: 1.662 MB / 0.6538 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/0.2111, allocations: 1.706 MB / 0.6555 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.2131, allocations: 500 kB / 0.656 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.2154, allocations: 0.7225 MB / 0.6567 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.2166, allocations: 0.9462 MB / 0.6576 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.2187, allocations: 1.453 MB / 0.659 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008783/0.2275, allocations: 5.962 MB / 0.6649 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2275, allocations: 8 kB / 0.6649 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2275, allocations: 0 / 0.6649 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.2277, allocations: 3.938 kB / 0.6649 GB, free: 0.9688 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.01562/0.2433, allocations: 4.616 MB / 0.6694 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.2433, allocations: 12.03 kB / 0.6694 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005953/0.2439, allocations: 341.5 kB / 0.6697 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006127/0.2501, allocations: 1.076 MB / 0.6708 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005621/0.2557, allocations: 2.343 MB / 0.673 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/0.2564, allocations: 0.7335 MB / 0.6738 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006597/0.2571, allocations: 243.9 kB / 0.674 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/0.2645, allocations: 3.624 MB / 0.6775 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/0.2646, allocations: 4 kB / 0.6775 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002749/0.2648, allocations: 108 kB / 0.6776 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.2649, allocations: 60 kB / 0.6777 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/0.2713, allocations: 2.619 MB / 0.6803 GB, free: 0.6172 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.02036/0.2916, allocations: 9.979 MB / 0.69 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00766/0.2993, allocations: 2.831 MB / 0.6928 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.3021, allocations: 1.168 MB / 0.6939 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.3022, allocations: 25.98 kB / 0.6939 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003593/0.3058, allocations: 1.756 MB / 0.6956 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.669e-06/0.3058, allocations: 0 / 0.6956 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01299/0.3188, allocations: 4.456 MB / 0.7 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003889/0.3192, allocations: 0.5391 MB / 0.7005 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.3243, allocations: 2.57 MB / 0.703 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006499/0.3249, allocations: 65.7 kB / 0.7031 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.3267, allocations: 1.374 MB / 0.7044 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.3282, allocations: 0.6855 MB / 0.7051 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008803/0.3291, allocations: 383.7 kB / 0.7055 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.3293, allocations: 313.1 kB / 0.7058 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.3324, allocations: 1.155 MB / 0.7069 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/0.3361, allocations: 2.096 MB / 0.7089 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01966/0.3557, allocations: 6.15 MB / 0.715 GB, free: 12.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.3558, allocations: 4 kB / 0.715 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01011/0.3659, allocations: 3.674 MB / 0.7185 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.3659, allocations: 37.7 kB / 0.7186 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.366, allocations: 8 kB / 0.7186 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007865/0.3667, allocations: 472.7 kB / 0.719 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.3694, allocations: 0.5071 MB / 0.7195 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.3695, allocations: 27.92 kB / 0.7196 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.3721, allocations: 342.2 kB / 0.7199 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.3722, allocations: 83.98 kB / 0.72 GB, free: 6.949 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.004041/0.3763, allocations: 1.719 MB / 0.7216 GB, free: 5.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003206/0.3795, allocations: 2.033 MB / 0.7236 GB, free: 2.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01837/0.3979, allocations: 6.005 MB / 0.7295 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/0.3979, allocations: 11.94 kB / 0.7295 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009555/0.4074, allocations: 3.568 MB / 0.733 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.4075, allocations: 38.59 kB / 0.733 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.4075, allocations: 16.06 kB / 0.733 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007181/0.4082, allocations: 476.6 kB / 0.7335 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.4108, allocations: 499.3 kB / 0.734 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/0.4108, allocations: 27.92 kB / 0.734 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.4134, allocations: 286.8 kB / 0.7343 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.4136, allocations: 87.91 kB / 0.7344 GB, free: 7.68 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.0009773/0.4146, allocations: 493.9 kB / 0.7348 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/0.4153, allocations: 318 kB / 0.7351 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/0.4241, allocations: 3.373 MB / 0.7384 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.4241, allocations: 20 kB / 0.7384 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.4241, allocations: 4 kB / 0.7384 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.4242, allocations: 11.97 kB / 0.7385 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.4382, allocations: 6.4 MB / 0.7447 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4382, allocations: 4 kB / 0.7447 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/0.4409, allocations: 431.5 kB / 0.7451 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007628/0.4417, allocations: 464.5 kB / 0.7456 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/0.4419, allocations: 55.97 kB / 0.7456 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.4419, allocations: 7.938 kB / 0.7456 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4419, allocations: 4 kB / 0.7456 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.4545, allocations: 5.175 MB / 0.7507 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/0.4567, allocations: 0.6612 MB / 0.7513 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/0.4571, allocations: 59.98 kB / 0.7514 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.459, allocations: 183.8 kB / 0.7516 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.4594, allocations: 173.7 kB / 0.7517 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.4595, allocations: 59.98 kB / 0.7518 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003194/0.4627, allocations: 1.716 MB / 0.7535 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4627, allocations: 0 / 0.7535 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003471/0.4662, allocations: 1.076 MB / 0.7545 GB, free: 2.879 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.01318/0.4794, allocations: 5.87 MB / 0.7602 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01163/0.491, allocations: 4.415 MB / 0.7646 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.491, allocations: 0 / 0.7646 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003739/0.4948, allocations: 1.498 MB / 0.766 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.4977, allocations: 0.5298 MB / 0.7665 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3887/0.8865, allocations: 25.97 MB / 0.7919 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.8883, allocations: 1.215 MB / 0.7931 GB, free: 147.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002034/0.8903, allocations: 351.1 kB / 0.7934 GB, free: 147.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.892, allocations: 1.252 MB / 0.7946 GB, free: 147 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.892, allocations: 0 / 0.7946 GB, free: 147 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/0.9999, allocations: 71.47 MB / 0.8644 GB, free: 84.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.02, allocations: 7.938 kB / 0.8645 GB, free: 84.98 MB / 0.6075 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Photovoltaics.WECC.PVVoltageSourceB_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 21.326556902989978] Failed to read output from testmodel.py, exit status != 0: 17.444408351992024 17.209323306 16.977433367 Calling exit ...