Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001056/0.001056, allocations: 106.2 kB / 16.42 MB, free: 6.457 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.00101/0.00101, allocations: 190 kB / 17.36 MB, free: 5.707 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.109/1.109, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6608/0.6608, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.028e-05, allocations: 6.219 kB / 0.5819 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.001744/0.001761, allocations: 1.621 MB / 0.5835 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006001/0.002373, allocations: 0.5558 MB / 0.5841 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.00244, allocations: 2.062 kB / 0.5841 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.002568, allocations: 23.2 kB / 0.5841 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.002778, allocations: 68.12 kB / 0.5841 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.002894, allocations: 67.44 kB / 0.5842 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.003061, allocations: 148.3 kB / 0.5844 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003189, allocations: 52.92 kB / 0.5844 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.003278, allocations: 61.98 kB / 0.5845 GB, free: 21.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.003368, allocations: 60.45 kB / 0.5845 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.003397, allocations: 7.531 kB / 0.5845 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.003449, allocations: 28.89 kB / 0.5846 GB, free: 21.92 MB / 446.1 MB Notification: Performance of combineBinaries: time 9.925e-05/0.003553, allocations: 206 kB / 0.5847 GB, free: 21.77 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.055e-05/0.0036, allocations: 132.7 kB / 0.5849 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.003627, allocations: 14.03 kB / 0.5849 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-05/0.003646, allocations: 3.625 kB / 0.5849 GB, free: 21.66 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.0004122/0.004062, allocations: 0.5962 MB / 0.5855 GB, free: 21.12 MB / 446.1 MB Notification: Performance of FunctionAlias: time 4.928e-05/0.004117, allocations: 32.55 kB / 0.5855 GB, free: 21.1 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001116/0.004235, allocations: 176.3 kB / 0.5857 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simplify1: time 1.798e-05/0.004258, allocations: 16.84 kB / 0.5857 GB, free: 20.94 MB / 446.1 MB Notification: Performance of Alias: time 0.0002272/0.004489, allocations: 195 kB / 0.5859 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simplify2: time 1.216e-05/0.00451, allocations: 13.27 kB / 0.5859 GB, free: 20.76 MB / 446.1 MB Notification: Performance of Events: time 6.048e-05/0.004575, allocations: 60.16 kB / 0.5859 GB, free: 20.71 MB / 446.1 MB Notification: Performance of Detect States: time 5.766e-05/0.004639, allocations: 76.8 kB / 0.586 GB, free: 20.64 MB / 446.1 MB Notification: Performance of Partitioning: time 7.036e-05/0.004714, allocations: 76.64 kB / 0.5861 GB, free: 20.58 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003107/0.00503, allocations: 342.3 kB / 0.5864 GB, free: 20.43 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001168/0.005155, allocations: 196.4 kB / 0.5866 GB, free: 20.27 MB / 446.1 MB Notification: Performance of Inline: time 0.0003334/0.005494, allocations: 452.7 kB / 0.587 GB, free: 19.93 MB / 446.1 MB Notification: Performance of Partitioning: time 1.921e-05/0.005521, allocations: 28.45 kB / 0.5871 GB, free: 19.9 MB / 446.1 MB Notification: Performance of Cleanup: time 1.19e-05/0.005538, allocations: 20.52 kB / 0.5871 GB, free: 19.88 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004987/0.006041, allocations: 0.5383 MB / 0.5876 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Tearing: time 3.767e-06/0.006053, allocations: 0 / 0.5876 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Initialization: time 3e-07/0.006058, allocations: 0 / 0.5876 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Tearing: time 9.32e-07/0.006063, allocations: 1.344 kB / 0.5876 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Categorize: time 6.071e-06/0.006073, allocations: 1.062 kB / 0.5876 GB, free: 19.65 MB / 446.1 MB Notification: Performance of Solve: time 9.562e-05/0.006172, allocations: 65.33 kB / 0.5877 GB, free: 19.62 MB / 446.1 MB Notification: Performance of Jacobian: time 2.585e-06/0.00618, allocations: 0 / 0.5877 GB, free: 19.62 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 2.392e-05/0.006208, allocations: 23.95 kB / 0.5877 GB, free: 19.6 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);