Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl.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.001983/0.001983, allocations: 85.11 kB / 10.01 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003545/0.005527, allocations: 436 kB / 10.44 MB, free: 248 kB / 10.45 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.002003/0.002003, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002863/0.004866, allocations: 475.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.391/1.391, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2187/1.61, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 178] 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.8409/0.8409, allocations: 106.6 MB / 328.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08137/0.9222, allocations: 37.91 MB / 366 MB, free: 8.969 MB / 362.7 MB " [Timeout remaining time 179] 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) Running command: translateModel(Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1023,variableFilter="time|measurements.IpPuSNom",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl") translateModel(Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1023,variableFilter="time|measurements.IpPuSNom",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.583e-05, allocations: 2.312 kB / 367.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridForming.PlantControl.DynGFMCCPlantControl): time 0.02285/0.02288, allocations: 14.77 MB / 382.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.04152, allocations: 7.254 MB / 389.3 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/0.04578, allocations: 79.5 kB / 389.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.04906, allocations: 0.7589 MB / 390.2 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008215/0.05727, allocations: 2.306 MB / 392.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.4409/0.4982, allocations: 74.55 MB / 467 MB, free: 61.86 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Types.mo:53:35-53:96:writable] Warning: Parameter dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.transformRItoDQIPcc.u0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [Non-standard Modelica: --allowNonStandardModelica=implicitParameterStartAttribute] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Types.mo:54:35-54:101:writable] Warning: Parameter dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.transformRItoDQIPcc.u0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). [Non-standard Modelica: --allowNonStandardModelica=implicitParameterStartAttribute] Notification: Performance of NFFlatten.flatten: time 0.01744/0.5156, allocations: 8.623 MB / 475.6 MB, free: 57.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/0.52, allocations: 1.298 MB / 476.9 MB, free: 55.92 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:36:3-54:9:writable] Warning: 'line1.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:36:3-54:9:writable] Warning: 'dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLCFilter.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:36:3-54:9:writable] Warning: 'dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:36:3-54:9:writable] Warning: 'dynCCVSMPlantControlFull.line.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:36:3-54:9:writable] Warning: 'dynCCVSMPlantControlFull.Transformer.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.5349, allocations: 6.263 MB / 483.2 MB, free: 50.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.5384, allocations: 2.005 MB / 485.2 MB, free: 49.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002393/0.5408, allocations: 0.7656 MB / 486 MB, free: 48.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.5439, allocations: 1.148 MB / 487.1 MB, free: 47.21 MB / 442.7 MB Notification: Performance of combineBinaries: time 0.008429/0.5523, allocations: 8.674 MB / 495.8 MB, free: 38.77 MB / 442.7 MB Notification: Performance of replaceArrayConstructors: time 0.003996/0.5563, allocations: 4.724 MB / 0.4888 GB, free: 34.17 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.5583, allocations: 240 kB / 0.489 GB, free: 33.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.00148/0.5598, allocations: 222.4 kB / 0.4892 GB, free: 33.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 651 (619) * Number of variables: 651 (651) Notification: Performance of [SIM] Bindings: time 0.03694/0.5968, allocations: 32.94 MB / 0.5214 GB, free: 1.469 MB / 442.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.125e-05/0.5968, allocations: 4 kB / 0.5214 GB, free: 1.465 MB / 442.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.007709/0.6045, allocations: 4.391 MB / 0.5257 GB, free: 13.29 MB / 458.7 MB Notification: Performance of [SIM] Early Inline: time 0.04405/0.6485, allocations: 23.24 MB / 0.5484 GB, free: 6.195 MB / 474.7 MB Notification: Performance of [SIM] Simplify: time 0.004317/0.6528, allocations: 1.286 MB / 0.5496 GB, free: 4.855 MB / 474.7 MB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.05319/0.706, allocations: 27.55 MB / 0.5766 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of [SIM] Remove Stream: time 0.001568/0.7076, allocations: 0.9946 MB / 0.5775 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of [SIM] Algorithm Locals: time 0.004385/0.712, allocations: 2.407 MB / 0.5799 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of [SIM] Detect States: time 0.005855/0.7178, allocations: 3.78 MB / 0.5836 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of [SIM] Events: time 0.002108/0.7199, allocations: 1.605 MB / 0.5851 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of [SIM] Partitioning: time 0.01012/0.7301, allocations: 4.812 MB / 0.5898 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of [SIM] Causalize: time 0.01401/0.7441, allocations: 6.532 MB / 0.5962 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01566/0.7597, allocations: 10.57 MB / 0.6065 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of [INI] Simplify: time 0.03908/0.7988, allocations: 18.67 MB / 0.6248 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of [INI] Inline: time 0.0392/0.838, allocations: 23.17 MB / 0.6474 GB, free: 336 kB / 0.5573 GB Notification: Performance of [INI] Partitioning: time 0.001717/0.8397, allocations: 268.1 kB / 0.6476 GB, free: 0 / 0.5573 GB Notification: Performance of [INI] Cleanup: time 0.009746/0.8495, allocations: 5.357 MB / 0.6529 GB, free: 10.61 MB / 0.573 GB Notification: Performance of [INI] Causalize: time 0.3596/1.209, allocations: 43.4 MB / 0.6953 GB, free: 146.9 MB / 0.573 GB Error: Internal error NBEquation.IfEquationBody.createResidual failed for: [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal2.i.im = 0.0; ($RES_SIM_2244) [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal2.i.re = 0.0; ($RES_SIM_2245) [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal1.i.im = 0.0; ($RES_SIM_2242) [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal1.i.re = 0.0; ($RES_SIM_2243) [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal2.i.im = 0.0; ($RES_SIM_2244) [SCAL] (1) dynCCVSMPlantControlFull.dynCCVSMPlantControl.DynGFMCCVSM.Converter.RLTransformer.terminal2.i.re = 0.0; ($RES_SIM_2245) end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.327011022251099]