Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0006755/0.0006755, allocations: 84.23 kB / 20.06 MB, free: 4.469 MB / 18.57 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.001008/0.001008, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.859/0.859, allocations: 177.2 MB / 203.7 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6805/0.6805, allocations: 154.6 MB / 414.7 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/1.903e-05, allocations: 6.25 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01157/0.01159, allocations: 13.72 MB / 0.633 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02195, allocations: 9.818 MB / 0.6426 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.02315, allocations: 79.31 kB / 0.6427 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.0253, allocations: 1.68 MB / 0.6443 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.0293, allocations: 1.922 MB / 0.6462 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.03089, allocations: 0.7636 MB / 0.6469 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002921/0.03381, allocations: 3.287 MB / 0.6501 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.03522, allocations: 1 MB / 0.6511 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.03793, allocations: 2.488 MB / 0.6535 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.03927, allocations: 0.8217 MB / 0.6543 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.03942, allocations: 136 kB / 0.6545 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.04054, allocations: 0.6702 MB / 0.6551 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of combineBinaries: time 0.001694/0.04223, allocations: 3.105 MB / 0.6582 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of replaceArrayConstructors: time 0.001003/0.04323, allocations: 1.96 MB / 0.6601 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.04354, allocations: 144 kB / 0.6602 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.0002092/0.04375, allocations: 43.88 kB / 0.6602 GB, free: 3.207 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 (253) * Number of variables: 327 (244) Notification: Performance of [SIM] Bindings: time 0.006156/0.04991, allocations: 8.07 MB / 0.6681 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of [SIM] FunctionAlias: time 0.001611/0.05152, allocations: 1.525 MB / 0.6696 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of [SIM] Early Inline: time 0.005426/0.05695, allocations: 6.613 MB / 0.6761 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 1: time 0.0007872/0.05773, allocations: 0.7 MB / 0.6768 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of [SIM] Alias: time 0.2842/0.3419, allocations: 7.095 MB / 0.6837 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 2: time 0.0007089/0.3426, allocations: 0.5701 MB / 0.6842 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of [SIM] Remove Stream: time 0.0002837/0.3429, allocations: 401.3 kB / 0.6846 GB, free: 64.5 MB / 0.6355 GB Notification: Performance of [SIM] Detect States: time 0.0009968/0.3439, allocations: 1.411 MB / 0.686 GB, free: 64.29 MB / 0.6355 GB Notification: Performance of [SIM] Events: time 0.0001467/0.3441, allocations: 175.9 kB / 0.6862 GB, free: 64.28 MB / 0.6355 GB Notification: Performance of [SIM] Partitioning: time 0.001298/0.3454, allocations: 1.872 MB / 0.688 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of [SIM] Causalize: time 0.007667/0.353, allocations: 9.278 MB / 0.6971 GB, free: 62.87 MB / 0.6355 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001829/0.3549, allocations: 3.658 MB / 0.7006 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of [INI] Simplify: time 0.002649/0.3575, allocations: 2.471 MB / 0.703 GB, free: 61.27 MB / 0.6355 GB Notification: Performance of [INI] Inline: time 0.005413/0.3629, allocations: 7.25 MB / 0.7101 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of [INI] Partitioning: time 0.0004643/0.3634, allocations: 124.4 kB / 0.7102 GB, free: 57.48 MB / 0.6355 GB Notification: Performance of [INI] Cleanup: time 0.001523/0.3649, allocations: 1.263 MB / 0.7115 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of [INI] Causalize: time 0.01037/0.3753, allocations: 8.084 MB / 0.7194 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of [INI] Tearing: time 0.0005455/0.3758, allocations: 0.4909 MB / 0.7199 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of [SIM] Initialization: time 2.485e-06/0.3758, allocations: 4 kB / 0.7199 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of [SIM] DAE-Mode: time 0.001758/0.3776, allocations: 1.099 MB / 0.7209 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of [SIM] Remove Dummies: time 1.032e-05/0.3776, allocations: 1.312 kB / 0.7209 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of [SIM] Tearing: time 0.00042/0.378, allocations: 0.5143 MB / 0.7214 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of [SIM] Categorize: time 3.202e-05/0.378, allocations: 12.81 kB / 0.7214 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of [SIM] Solve: time 0.006247/0.3843, allocations: 4.463 MB / 0.7258 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of [SIM] Jacobian: time 0.006076/0.3904, allocations: 6.016 MB / 0.7317 GB, free: 50 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.403e-06/0.3904, allocations: 4 kB / 0.7317 GB, free: 50 MB / 0.6355 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 126 (scalar:120, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (resizable: 5, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 276 (scalar:264, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (resizable: 5, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 0.0001377/0.3905, allocations: 68.55 kB / 0.7317 GB, free: 49.94 MB / 0.6355 GB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [FOR-] (2) ($RES_SIM_147) [----] for $i1 in 1:2 loop [----] [SCAL] (1) $RES_SIM_147[$i1] = -(line_sc.terminal_p.i[$i1] + load_sc.i[$i1]) ($RES_SIM_148) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8132838793098927] Failed to read output from testmodel.py, exit status != 0: 0.40236514061689377 0.41004499400000005 0.364739721 Calling exit ...