Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMDroopPlantControl.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.001265/0.001265, allocations: 85.11 kB / 10.01 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.002934, 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.001141/0.001141, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.002906, 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.352/1.352, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1965/1.549, allocations: 49.5 MB / 220.7 MB, free: 1.348 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.8405/0.8405, allocations: 106.6 MB / 328 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08254/0.923, allocations: 37.93 MB / 366 MB, free: 8.953 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.DynGFMDroopPlantControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1023,variableFilter="time|measurements.IpPuSNom",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMDroopPlantControl") translateModel(Dynawo.Examples.GridForming.PlantControl.DynGFMDroopPlantControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1023,variableFilter="time|measurements.IpPuSNom",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridForming.PlantControl.DynGFMDroopPlantControl") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.035e-05, allocations: 2.312 kB / 367.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridForming.PlantControl.DynGFMDroopPlantControl): time 0.04548/0.0455, allocations: 14 MB / 381.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.06312, allocations: 6.992 MB / 388.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.06667, allocations: 83.5 kB / 388.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.06962, allocations: 0.7242 MB / 389.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008768/0.07839, allocations: 2.22 MB / 391.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.414/0.4924, allocations: 81.22 MB / 472.5 MB, free: 57.38 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 dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.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 dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.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.009553/0.5019, allocations: 8.248 MB / 480.8 MB, free: 52.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.5047, allocations: 1.251 MB / 482 MB, free: 51.66 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: 'dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.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: 'dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.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: 'dynDroopPlantControlFull.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: 'dynDroopPlantControlFull.Transformer.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: 'line1.switchOffSignal3' refers to a component with a false condition. [Non-standard Modelica: --allowNonStandardModelica=illegalConditionalContext] Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.5147, allocations: 6.155 MB / 488.2 MB, free: 46.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.5174, allocations: 1.882 MB / 490.1 MB, free: 45.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.5185, allocations: 0.7148 MB / 490.8 MB, free: 44.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.5202, allocations: 1.1 MB / 491.9 MB, free: 43.22 MB / 442.7 MB Notification: Performance of combineBinaries: time 0.004881/0.5251, allocations: 8.194 MB / 0.4884 GB, free: 35.25 MB / 442.7 MB Notification: Performance of replaceArrayConstructors: time 0.003319/0.5284, allocations: 4.468 MB / 0.4927 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.5295, allocations: 228 kB / 0.4929 GB, free: 30.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.0009533/0.5305, allocations: 204.6 kB / 0.4931 GB, free: 30.54 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: 621 (589) * Number of variables: 621 (621) Notification: Performance of [SIM] Bindings: time 0.02618/0.5567, allocations: 31.41 MB / 0.5238 GB, free: 15.7 MB / 458.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.184e-05/0.5567, allocations: 0 / 0.5238 GB, free: 15.7 MB / 458.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.007992/0.5647, allocations: 3.985 MB / 0.5277 GB, free: 11.94 MB / 458.7 MB Notification: Performance of [SIM] Early Inline: time 0.03713/0.6018, allocations: 22.15 MB / 0.5493 GB, free: 5.941 MB / 474.7 MB Notification: Performance of [SIM] Simplify: time 0.002821/0.6046, allocations: 1.248 MB / 0.5505 GB, free: 4.629 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.04969/0.6543, allocations: 26.07 MB / 0.576 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of [SIM] Remove Stream: time 0.001584/0.6559, allocations: 0.9373 MB / 0.5769 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of [SIM] Algorithm Locals: time 0.004163/0.6601, allocations: 2.286 MB / 0.5791 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of [SIM] Detect States: time 0.005952/0.666, allocations: 3.588 MB / 0.5826 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of [SIM] Events: time 0.002404/0.6684, allocations: 1.487 MB / 0.5841 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of [SIM] Partitioning: time 0.009339/0.6778, allocations: 4.593 MB / 0.5886 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of [SIM] Causalize: time 0.01515/0.6929, allocations: 6.249 MB / 0.5947 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01859/0.7115, allocations: 9.992 MB / 0.6044 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of [INI] Simplify: time 0.03764/0.7492, allocations: 17.26 MB / 0.6213 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of [INI] Inline: time 0.03627/0.7854, allocations: 22.13 MB / 0.6429 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of [INI] Partitioning: time 0.001471/0.7869, allocations: 254.9 kB / 0.6432 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of [INI] Cleanup: time 0.007708/0.7946, allocations: 5.066 MB / 0.6481 GB, free: 72 kB / 0.5573 GB Notification: Performance of [INI] Causalize: time 0.3449/1.14, allocations: 41.06 MB / 0.6882 GB, free: 147.8 MB / 0.573 GB Error: Internal error NBEquation.IfEquationBody.createResidual failed for: [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal2.i.im = 0.0; ($RES_SIM_2099) [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal2.i.re = 0.0; ($RES_SIM_2100) [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal1.i.im = 0.0; ($RES_SIM_2097) [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal1.i.re = 0.0; ($RES_SIM_2098) [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal2.i.im = 0.0; ($RES_SIM_2099) [SCAL] (1) dynDroopPlantControlFull.dynDroopPlantControl.dynGFMDroop.Converter.RLTransformer.terminal2.i.re = 0.0; ($RES_SIM_2100) end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.1142156212590635]