Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 115.4 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8378/0.8378, allocations: 135.1 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.726e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002662/0.002698, allocations: 1.629 MB / 0.5878 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.003534, allocations: 0.5388 MB / 0.5883 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.00363, allocations: 3.5 kB / 0.5883 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.003837, allocations: 22.36 kB / 0.5884 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.004136, allocations: 69.91 kB / 0.5884 GB, free: 19.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.004296, allocations: 64.45 kB / 0.5885 GB, free: 19.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.004545, allocations: 155.5 kB / 0.5886 GB, free: 19.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.004748, allocations: 50.27 kB / 0.5887 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.004895, allocations: 55.45 kB / 0.5887 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.005041, allocations: 63.2 kB / 0.5888 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.005092, allocations: 8.688 kB / 0.5888 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.005179, allocations: 26.89 kB / 0.5888 GB, free: 19.72 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001804/0.005367, allocations: 201.9 kB / 0.589 GB, free: 19.57 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 8.201e-05/0.005456, allocations: 139.8 kB / 0.5891 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.005501, allocations: 14.78 kB / 0.5892 GB, free: 19.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.224e-05/0.005539, allocations: 7.219 kB / 0.5892 GB, free: 19.46 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (13) * Number of variables: 13 (7) Notification: Performance of Bindings: time 0.0007025/0.006247, allocations: 0.6033 MB / 0.5898 GB, free: 18.91 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.897e-05/0.006332, allocations: 25 kB / 0.5898 GB, free: 18.89 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000177/0.006515, allocations: 177.5 kB / 0.59 GB, free: 18.74 MB / 446.1 MB Notification: Performance of simplify1: time 2.792e-05/0.006549, allocations: 11.73 kB / 0.59 GB, free: 18.73 MB / 446.1 MB Notification: Performance of Alias: time 0.0003635/0.006918, allocations: 205.4 kB / 0.5902 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simplify2: time 1.521e-05/0.006943, allocations: 21.66 kB / 0.5902 GB, free: 18.53 MB / 446.1 MB Notification: Performance of Detect States: time 8.986e-05/0.007038, allocations: 63.06 kB / 0.5902 GB, free: 18.45 MB / 446.1 MB Notification: Performance of Events: time 7.854e-05/0.007122, allocations: 38.53 kB / 0.5903 GB, free: 18.42 MB / 446.1 MB Notification: Performance of Partitioning: time 8.677e-05/0.007218, allocations: 90.41 kB / 0.5904 GB, free: 18.32 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003445/0.007568, allocations: 333.2 kB / 0.5907 GB, free: 18 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001241/0.0077, allocations: 201.4 kB / 0.5909 GB, free: 17.78 MB / 446.1 MB Notification: Performance of Inline: time 0.0005372/0.008244, allocations: 463 kB / 0.5913 GB, free: 17.32 MB / 446.1 MB Notification: Performance of Partitioning: time 2.248e-05/0.008275, allocations: 24.11 kB / 0.5913 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Cleanup: time 1.618e-05/0.008297, allocations: 19.86 kB / 0.5914 GB, free: 17.27 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005031/0.008805, allocations: 0.5351 MB / 0.5919 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Tearing: time 1.228e-05/0.008826, allocations: 0 / 0.5919 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Initialization: time 3.11e-07/0.008831, allocations: 0 / 0.5919 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Tearing: time 2.475e-06/0.008838, allocations: 0 / 0.5919 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Categorize: time 1.098e-05/0.008854, allocations: 7.938 kB / 0.5919 GB, free: 16.72 MB / 446.1 MB Notification: Performance of Solve: time 0.0001237/0.008983, allocations: 63.94 kB / 0.5919 GB, free: 16.66 MB / 446.1 MB Notification: Performance of Jacobian: time 4.508e-06/0.008994, allocations: 3.984 kB / 0.5919 GB, free: 16.65 MB / 446.1 MB 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: ......... 1 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 21 (scalar:17, array:0, record:4) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.538e-05/0.009035, allocations: 27.39 kB / 0.592 GB, free: 16.63 MB / 446.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_4) [----] IDEAS.Utilities.IO.Files.BaseClasses.cacheVals(jsonWriterTerminal.jsonWri, jsonWriterTerminal.u);