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.0003695/0.0003695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006699/0.001039, 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.0002463/0.0002463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004614/0.0007077, 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.09377/0.09377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03091/0.1247, 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.05031/0.05031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.02198/0.07229, 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 9.61e-07/9.61e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 7.885e-06/8.846e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridFollowing.TwoVSC.TwoConvertersStaticLine7Hz): time 0.02051/0.02052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01502/0.03554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.03712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002063/0.03918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.004339/0.04352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.04815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005648/0.0538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.05647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00647/0.06294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.06506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0006533/0.06571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.06665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009858/0.06764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001379/0.06902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.004988/0.07401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0006403/0.07465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.174e-06/0.07465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.292e-05/0.07468, 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.009555/0.08424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002824/0.08452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.08747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.09093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004076/0.09134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.09178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.09543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.368e-05/0.09551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.09579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.09587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.09764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/0.1205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.1234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.1241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.1243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=312): time 1.92e-05/0.1258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=312): time 0.006324/0.1321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.1355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009348/0.1364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007431/0.1372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.1379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.552e-05/0.1379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/0.1385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009068/0.1395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.1422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/0.1422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=435) (initialization): time 0.004173/0.1464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.1465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.1465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/0.1474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/0.1505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.1537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.1554, 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.001325/0.1568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000944/0.1577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00277/0.1605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.912e-05/0.1605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=435) (initialization_lambda0): time 0.004105/0.1646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.1647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.1647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008408/0.1655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.1679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.1725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.1727, 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.001076/0.1738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/0.1742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.1785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.1786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.1786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.1786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008001/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.1866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.1889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.1896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0008475/0.1904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.1906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.1937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.1983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/0.1994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.2007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/0.2012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.2014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001429/0.2028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001168/0.2029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004177/0.2071, 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.000991/0.2081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004769/0.2129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001165/0.213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00196/0.215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.2184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.2282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/0.2292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001768/0.231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.2327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.152e-05/0.2328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01093/0.2437, 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.4156205421313643]