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.00114/0.00114, allocations: 110.9 kB / 16.42 MB, free: 6.422 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.0012/0.001201, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8114/0.8114, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.227e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.00289/0.002938, allocations: 1.635 MB / 0.5878 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.003861, allocations: 0.54 MB / 0.5883 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.003967, allocations: 2.75 kB / 0.5883 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.004169, allocations: 27.73 kB / 0.5883 GB, free: 20.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.004467, allocations: 68.86 kB / 0.5884 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004638, allocations: 62.78 kB / 0.5885 GB, free: 20.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.004894, allocations: 153.1 kB / 0.5886 GB, free: 19.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.005114, allocations: 53.98 kB / 0.5887 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.005254, allocations: 54.59 kB / 0.5887 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.005403, allocations: 67.53 kB / 0.5888 GB, free: 19.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.005439, allocations: 7.219 kB / 0.5888 GB, free: 19.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.005523, allocations: 21.25 kB / 0.5888 GB, free: 19.83 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001804/0.00571, allocations: 201.9 kB / 0.589 GB, free: 19.68 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 7.956e-05/0.005795, allocations: 134.3 kB / 0.5891 GB, free: 19.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.005843, allocations: 23.03 kB / 0.5892 GB, free: 19.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-05/0.005875, allocations: 11.91 kB / 0.5892 GB, free: 19.56 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.0006899/0.00657, allocations: 0.5974 MB / 0.5898 GB, free: 19.02 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.728e-05/0.006653, allocations: 28.77 kB / 0.5898 GB, free: 19 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001803/0.00684, allocations: 183.4 kB / 0.59 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simplify1: time 3.565e-05/0.006882, allocations: 15.52 kB / 0.59 GB, free: 18.83 MB / 446.1 MB Notification: Performance of Alias: time 0.0004527/0.007345, allocations: 194.5 kB / 0.5902 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simplify2: time 1.658e-05/0.007375, allocations: 15.92 kB / 0.5902 GB, free: 18.64 MB / 446.1 MB Notification: Performance of Events: time 9.545e-05/0.007477, allocations: 58.42 kB / 0.5902 GB, free: 18.58 MB / 446.1 MB Notification: Performance of Detect States: time 9.576e-05/0.007582, allocations: 66.94 kB / 0.5903 GB, free: 18.5 MB / 446.1 MB Notification: Performance of Partitioning: time 9.651e-05/0.007686, allocations: 72.23 kB / 0.5904 GB, free: 18.42 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004219/0.008116, allocations: 344.2 kB / 0.5907 GB, free: 18.09 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002003/0.008327, allocations: 196.4 kB / 0.5909 GB, free: 17.87 MB / 446.1 MB Notification: Performance of Inline: time 0.0005179/0.008856, allocations: 449.3 kB / 0.5913 GB, free: 17.42 MB / 446.1 MB Notification: Performance of Partitioning: time 2.785e-05/0.008895, allocations: 28.05 kB / 0.5913 GB, free: 17.38 MB / 446.1 MB Notification: Performance of Cleanup: time 1.78e-05/0.00892, allocations: 17.8 kB / 0.5913 GB, free: 17.37 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006772/0.009604, allocations: 0.5353 MB / 0.5919 GB, free: 16.83 MB / 446.1 MB Notification: Performance of Tearing: time 6.482e-06/0.009622, allocations: 4 kB / 0.5919 GB, free: 16.83 MB / 446.1 MB Notification: Performance of Initialization: time 4.01e-07/0.009629, allocations: 0 / 0.5919 GB, free: 16.83 MB / 446.1 MB Notification: Performance of Tearing: time 2.665e-06/0.009638, allocations: 3.984 kB / 0.5919 GB, free: 16.82 MB / 446.1 MB Notification: Performance of Categorize: time 8.707e-06/0.009653, allocations: 0 / 0.5919 GB, free: 16.82 MB / 446.1 MB Notification: Performance of Solve: time 0.0001353/0.009794, allocations: 75.88 kB / 0.5919 GB, free: 16.75 MB / 446.1 MB Notification: Performance of Jacobian: time 4.84e-06/0.009808, allocations: 0 / 0.5919 GB, free: 16.75 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 4.722e-05/0.009862, allocations: 20.98 kB / 0.592 GB, free: 16.73 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);