Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002895/0.0002895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004982/0.0007877, allocations: 0 / 0, free: 0 / 0 " [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.0003172/0.0003172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004409/0.0007582, allocations: 0 / 0, free: 0 / 0 " [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 0.04775/0.04775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03383/0.08157, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.05168/0.05168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0236/0.07528, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring --allowNonStandardModelica in the __OpenModelica_commandLineOptions annotation; using: --matchingAlgorithm=PFPlusExt --indexReductionMethod=dynamicStateSelection -d=initialization,NLSanalyticJacobian Running command: simulate(Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz,startTime=0,stopTime=70,tolerance=1e-05,numberOfIntervals=140000,outputFormat="mat",variableFilter="time|gFL1.plantController.PInjRefPu|gFL2.plantController.PInjRefPu|gFL1.plantController.QInjRefPu|gFL2.plantController.QInjRefPu|gFL1.gFLControl.outerLoop.idConvRefPu|gFL2.gFLControl.outerLoop.idConvRefPu|gFL1.gFLControl.outerLoop.iqConvRefPu|gFL2.gFLControl.outerLoop.iqConvRefPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz,startTime=0,stopTime=70,tolerance=1e-05,numberOfIntervals=140000,outputFormat="mat",variableFilter="time|gFL1.plantController.PInjRefPu|gFL2.plantController.PInjRefPu|gFL1.plantController.QInjRefPu|gFL2.plantController.QInjRefPu|gFL1.gFLControl.outerLoop.idConvRefPu|gFL2.gFLControl.outerLoop.idConvRefPu|gFL1.gFLControl.outerLoop.iqConvRefPu|gFL2.gFLControl.outerLoop.iqConvRefPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.586e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz): time 0.02095/0.02097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01601/0.03699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.03879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002176/0.04096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004609/0.04557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.05109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.006913/0.058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.007434/0.06843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.0707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000667/0.07136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.07252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00101/0.07353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001476/0.07501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.005914/0.08092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0006549/0.08158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.715e-06/0.08158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.232e-05/0.08161, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 883 * Number of variables: 883 Notification: Performance of Generate backend data structure: time 0.009927/0.09154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000282/0.09182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.09484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.0984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.09882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/0.09926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-05/0.103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.1033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/0.1034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.1051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.1281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/0.1317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.1319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.1334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=312): time 1.997e-05/0.1334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=312): time 0.006264/0.1397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.1425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.1428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008973/0.1437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007588/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.1452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.284e-05/0.1452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/0.1458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.1467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.1497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-05/0.1498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=435) (initialization): time 0.004669/0.1545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.1545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.1545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.1555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.1582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.1615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.1632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.1634, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 44 variables: gFL1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = gFL1.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) gFL1.running:DISCRETE(flow=false start = gFL1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean gFL2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = gFL2.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) gFL2.running:DISCRETE(flow=false start = gFL2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.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) gFL1.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu:VARIABLE(start = gFL1.gFLControl.outerLoop.currentLimiterOuterLoop.IqBoost0Pu unit = \"1\" fixed = true ) \"Reactive current boost after limitation and filter in pu (base UNom, SNom), positive = injection\" type: Real gFL1.gFLControl.outerLoop.firstOrder.y:VARIABLE(flow=false start = gFL1.gFLControl.outerLoop.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL1.gFLControl.outerLoop.firstOrder1.y:VARIABLE(flow=false start = gFL1.gFLControl.outerLoop.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderUPcc.y:VARIABLE(flow=false start = gFL1.plantController.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderPPcc.y:VARIABLE(flow=false start = gFL1.plantController.P0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderQPcc.y:VARIABLE(flow=false start = gFL1.plantController.Q0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderPLV.y:VARIABLE(flow=false start = gFL1.gFLControl.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderQLV.y:VARIABLE(flow=false start = gFL1.gFLControl.QInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.vSCdelay.firstOrderre.y:VARIABLE(flow=false start = gFL1.dynConverter1.dynRLCFilter.UrConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.vSCdelay.firstOrderim.y:VARIABLE(flow=false start = gFL1.dynConverter1.dynRLCFilter.UiConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.dynRLCFilter.iConvPu.re:VARIABLE(flow=false start = gFL1.measurementBlock.IreConv0Pu fixed = true ) \"Real part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.iConvPu.im:VARIABLE(flow=false start = gFL1.measurementBlock.IimConv0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.uFiltPu.re:VARIABLE(flow=false start = gFL1.measurementBlock.UreFilter0Pu fixed = true ) \"Real part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.uFiltPu.im:VARIABLE(flow=false start = gFL1.measurementBlock.UimFilter0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL1.dynConverter1.Trafo.irPccPu:VARIABLE(start = -gFL1.i0Pu.re unit = \"1\" fixed = true ) \"Real-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL1.dynConverter1.Trafo.iiPccPu:VARIABLE(start = -gFL1.i0Pu.im unit = \"1\" fixed = true ) \"Imag-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL2.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu:VARIABLE(start = gFL2.gFLControl.outerLoop.currentLimiterOuterLoop.IqBoost0Pu unit = \"1\" fixed = true ) \"Reactive current boost after limitation and filter in pu (base UNom, SNom), positive = injection\" type: Real gFL2.gFLControl.outerLoop.firstOrder.y:VARIABLE(flow=false start = gFL2.gFLControl.outerLoop.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL2.gFLControl.outerLoop.firstOrder1.y:VARIABLE(flow=false start = gFL2.gFLControl.outerLoop.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderUPcc.y:VARIABLE(flow=false start = gFL2.plantController.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderPPcc.y:VARIABLE(flow=false start = gFL2.plantController.P0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderQPcc.y:VARIABLE(flow=false start = gFL2.plantController.Q0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderPLV.y:VARIABLE(flow=false start = gFL2.gFLControl.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderQLV.y:VARIABLE(flow=false start = gFL2.gFLControl.QInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.vSCdelay.firstOrderre.y:VARIABLE(flow=false start = gFL2.dynConverter1.dynRLCFilter.UrConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.vSCdelay.firstOrderim.y:VARIABLE(flow=false start = gFL2.dynConverter1.dynRLCFilter.UiConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.dynRLCFilter.iConvPu.re:VARIABLE(flow=false start = gFL2.measurementBlock.IreConv0Pu fixed = true ) \"Real part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.iConvPu.im:VARIABLE(flow=false start = gFL2.measurementBlock.IimConv0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.uFiltPu.re:VARIABLE(flow=false start = gFL2.measurementBlock.UreFilter0Pu fixed = true ) \"Real part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.uFiltPu.im:VARIABLE(flow=false start = gFL2.measurementBlock.UimFilter0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL2.dynConverter1.Trafo.irPccPu:VARIABLE(start = -gFL2.i0Pu.re unit = \"1\" fixed = true ) \"Real-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL2.dynConverter1.Trafo.iiPccPu:VARIABLE(start = -gFL2.i0Pu.im unit = \"1\" fixed = true ) \"Imag-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.running:DISCRETE(flow=false start = line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2.running:DISCRETE(flow=false start = line2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.running:DISCRETE(flow=false start = line3.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001349/0.1647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/0.1658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00302/0.1688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.167e-05/0.1688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=435) (initialization_lambda0): time 0.004597/0.1734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.1735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.1735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0009455/0.1745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.1802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.1819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.1821, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 44 variables: gFL1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = gFL1.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) gFL1.running:DISCRETE(flow=false start = gFL1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean gFL2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = gFL2.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) gFL2.running:DISCRETE(flow=false start = gFL2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.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) gFL1.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu:VARIABLE(start = gFL1.gFLControl.outerLoop.currentLimiterOuterLoop.IqBoost0Pu unit = \"1\" fixed = true ) \"Reactive current boost after limitation and filter in pu (base UNom, SNom), positive = injection\" type: Real gFL1.gFLControl.outerLoop.firstOrder.y:VARIABLE(flow=false start = gFL1.gFLControl.outerLoop.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL1.gFLControl.outerLoop.firstOrder1.y:VARIABLE(flow=false start = gFL1.gFLControl.outerLoop.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderUPcc.y:VARIABLE(flow=false start = gFL1.plantController.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderPPcc.y:VARIABLE(flow=false start = gFL1.plantController.P0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderQPcc.y:VARIABLE(flow=false start = gFL1.plantController.Q0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderPLV.y:VARIABLE(flow=false start = gFL1.gFLControl.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.measurementBlock.firstOrderQLV.y:VARIABLE(flow=false start = gFL1.gFLControl.QInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.vSCdelay.firstOrderre.y:VARIABLE(flow=false start = gFL1.dynConverter1.dynRLCFilter.UrConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.vSCdelay.firstOrderim.y:VARIABLE(flow=false start = gFL1.dynConverter1.dynRLCFilter.UiConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL1.dynConverter1.dynRLCFilter.iConvPu.re:VARIABLE(flow=false start = gFL1.measurementBlock.IreConv0Pu fixed = true ) \"Real part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.iConvPu.im:VARIABLE(flow=false start = gFL1.measurementBlock.IimConv0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.uFiltPu.re:VARIABLE(flow=false start = gFL1.measurementBlock.UreFilter0Pu fixed = true ) \"Real part of complex number\" type: Real gFL1.dynConverter1.dynRLCFilter.uFiltPu.im:VARIABLE(flow=false start = gFL1.measurementBlock.UimFilter0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL1.dynConverter1.Trafo.irPccPu:VARIABLE(start = -gFL1.i0Pu.re unit = \"1\" fixed = true ) \"Real-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL1.dynConverter1.Trafo.iiPccPu:VARIABLE(start = -gFL1.i0Pu.im unit = \"1\" fixed = true ) \"Imag-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL2.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu:VARIABLE(start = gFL2.gFLControl.outerLoop.currentLimiterOuterLoop.IqBoost0Pu unit = \"1\" fixed = true ) \"Reactive current boost after limitation and filter in pu (base UNom, SNom), positive = injection\" type: Real gFL2.gFLControl.outerLoop.firstOrder.y:VARIABLE(flow=false start = gFL2.gFLControl.outerLoop.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL2.gFLControl.outerLoop.firstOrder1.y:VARIABLE(flow=false start = gFL2.gFLControl.outerLoop.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderUPcc.y:VARIABLE(flow=false start = gFL2.plantController.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderPPcc.y:VARIABLE(flow=false start = gFL2.plantController.P0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderQPcc.y:VARIABLE(flow=false start = gFL2.plantController.Q0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderPLV.y:VARIABLE(flow=false start = gFL2.gFLControl.PInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.measurementBlock.firstOrderQLV.y:VARIABLE(flow=false start = gFL2.gFLControl.QInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.vSCdelay.firstOrderre.y:VARIABLE(flow=false start = gFL2.dynConverter1.dynRLCFilter.UrConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.vSCdelay.firstOrderim.y:VARIABLE(flow=false start = gFL2.dynConverter1.dynRLCFilter.UiConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real gFL2.dynConverter1.dynRLCFilter.iConvPu.re:VARIABLE(flow=false start = gFL2.measurementBlock.IreConv0Pu fixed = true ) \"Real part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.iConvPu.im:VARIABLE(flow=false start = gFL2.measurementBlock.IimConv0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.uFiltPu.re:VARIABLE(flow=false start = gFL2.measurementBlock.UreFilter0Pu fixed = true ) \"Real part of complex number\" type: Real gFL2.dynConverter1.dynRLCFilter.uFiltPu.im:VARIABLE(flow=false start = gFL2.measurementBlock.UimFilter0Pu fixed = true ) \"Imaginary part of complex number\" type: Real gFL2.dynConverter1.Trafo.irPccPu:VARIABLE(start = -gFL2.i0Pu.re unit = \"1\" fixed = true ) \"Real-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real gFL2.dynConverter1.Trafo.iiPccPu:VARIABLE(start = -gFL2.i0Pu.im unit = \"1\" fixed = true ) \"Imag-axis branch current from terminal1 to terminal2 in pu (base UNom, SnRef)\" type: Real line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.running:DISCRETE(flow=false start = line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line2.running:DISCRETE(flow=false start = line2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line3.running:DISCRETE(flow=false start = line3.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.gFL1.state,gFL1.state,$PRE.gFL1.running,gFL1.running,$whenCondition18,$whenCondition17,$whenCondition19,$PRE.gFL2.state,gFL2.state,$PRE.gFL2.running,gFL2.running,$whenCondition15,$whenCondition14,$whenCondition16,$PRE.line3.state,line3.state,$PRE.line2.state,line2.state,$PRE.line1.state,line1.state,$PRE.line.state,line.state,$PRE.line.running,$PRE.line1.running,$PRE.line2.running,$PRE.line3.running,line3.running,line3.switchOffSignal1,line2.running,line1.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,gFL1.plantController.piQ.integrator.local_reset,gFL1.plantController.piP.integrator.local_reset,gFL1.gFLControl.currentLoop.integratord.local_reset,gFL1.gFLControl.currentLoop.integratorq.local_reset,gFL1.gFLControl.outerLoop.pIAntiWindupVariableLimitsd.integrator.local_reset,gFL1.gFLControl.outerLoop.pIAntiWindupVariableLimitsq.integrator.local_reset,gFL1.gFLControl.outerLoop.rampLimiter.integrator.local_reset,gFL1.gFLControl.PLL.limIntegrator.local_reset,gFL1.gFLControl.PLL.integrator.local_reset,gFL2.plantController.piQ.integrator.local_reset,gFL2.plantController.piP.integrator.local_reset,gFL2.gFLControl.currentLoop.integratord.local_reset,gFL2.gFLControl.currentLoop.integratorq.local_reset,gFL2.gFLControl.outerLoop.pIAntiWindupVariableLimitsd.integrator.local_reset,gFL2.gFLControl.outerLoop.pIAntiWindupVariableLimitsq.integrator.local_reset,gFL2.gFLControl.outerLoop.rampLimiter.integrator.local_reset,gFL2.gFLControl.PLL.limIntegrator.local_reset,gFL2.gFLControl.PLL.integrator.local_reset,line.switchOffSignal1,line.switchOffSignal2,line1.switchOffSignal1,line1.switchOffSignal2,line2.switchOffSignal1,line2.switchOffSignal2,line3.switchOffSignal2,gFL2.switchOffSignal1,gFL2.switchOffSignal2,gFL2.switchOffSignal3,gFL1.switchOffSignal1,gFL1.switchOffSignal2,gFL1.switchOffSignal3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 417 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(16,2,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000994/0.1831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/0.1836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008902/0.1973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.1974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/0.1998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.2006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/0.2015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.2018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.2049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.2102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/0.2113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.2128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/0.2134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.2136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001462/0.215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001184/0.2152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00417/0.2193, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 50 (gFL1.plantController.piQ.integrator.y,gFL1.plantController.piP.integrator.y,gFL1.gFLControl.currentLoop.integratord.y,gFL1.gFLControl.currentLoop.integratorq.y,gFL1.gFLControl.outerLoop.pIAntiWindupVariableLimitsd.integrator.y,gFL1.gFLControl.outerLoop.pIAntiWindupVariableLimitsq.integrator.y,gFL1.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu,gFL1.gFLControl.outerLoop.rampLimiter.integrator.y,gFL1.gFLControl.outerLoop.firstOrder.y,gFL1.gFLControl.outerLoop.firstOrder1.y,gFL1.gFLControl.PLL.limIntegrator.y,gFL1.gFLControl.PLL.integrator.y,gFL1.measurementBlock.firstOrderUPcc.y,gFL1.measurementBlock.firstOrderPPcc.y,gFL1.measurementBlock.firstOrderQPcc.y,gFL1.measurementBlock.firstOrderPLV.y,gFL1.measurementBlock.firstOrderQLV.y,gFL1.dynConverter1.vSCdelay.firstOrderre.y,gFL1.dynConverter1.vSCdelay.firstOrderim.y,gFL1.dynConverter1.dynRLCFilter.iConvPu.re,gFL1.dynConverter1.dynRLCFilter.iConvPu.im,gFL1.dynConverter1.dynRLCFilter.uFiltPu.re,gFL1.dynConverter1.dynRLCFilter.uFiltPu.im,gFL1.dynConverter1.Trafo.irPccPu,gFL1.dynConverter1.Trafo.iiPccPu,gFL2.plantController.piQ.integrator.y,gFL2.plantController.piP.integrator.y,gFL2.gFLControl.currentLoop.integratord.y,gFL2.gFLControl.currentLoop.integratorq.y,gFL2.gFLControl.outerLoop.pIAntiWindupVariableLimitsd.integrator.y,gFL2.gFLControl.outerLoop.pIAntiWindupVariableLimitsq.integrator.y,gFL2.gFLControl.outerLoop.currentLimiterOuterLoop.iqBoostPu,gFL2.gFLControl.outerLoop.rampLimiter.integrator.y,gFL2.gFLControl.outerLoop.firstOrder.y,gFL2.gFLControl.outerLoop.firstOrder1.y,gFL2.gFLControl.PLL.limIntegrator.y,gFL2.gFLControl.PLL.integrator.y,gFL2.measurementBlock.firstOrderUPcc.y,gFL2.measurementBlock.firstOrderPPcc.y,gFL2.measurementBlock.firstOrderQPcc.y,gFL2.measurementBlock.firstOrderPLV.y,gFL2.measurementBlock.firstOrderQLV.y,gFL2.dynConverter1.vSCdelay.firstOrderre.y,gFL2.dynConverter1.vSCdelay.firstOrderim.y,gFL2.dynConverter1.dynRLCFilter.iConvPu.re,gFL2.dynConverter1.dynRLCFilter.iConvPu.im,gFL2.dynConverter1.dynRLCFilter.uFiltPu.re,gFL2.dynConverter1.dynRLCFilter.uFiltPu.im,gFL2.dynConverter1.Trafo.irPccPu,gFL2.dynConverter1.Trafo.iiPccPu) * Number of discrete variables: 32 (line3.switchOffSignal1,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,line1.running,line1.state,line2.running,line2.state,line3.running,line3.state,$whenCondition16,$whenCondition14,$whenCondition15,gFL2.running,gFL2.state,$whenCondition19,$whenCondition17,$whenCondition18,gFL1.running,gFL1.state) * Number of discrete states: 6 (gFL1.running,gFL2.running,line2.running,line1.running,line.running,line3.running) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(16,2,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.2204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004981/0.2254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.000124/0.2255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002/0.2275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.2302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.2414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001782/0.2432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.2448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.286e-05/0.2449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01001/0.2549, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4076412776485085]