Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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 3.2.3+maint.om/package.mo", uses=false) 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.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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001253/0.001253, allocations: 186.6 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.788e-05, allocations: 3.547 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003041/0.003077, allocations: 2.261 MB / 329.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004369, allocations: 0.7776 MB / 330.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.004412, allocations: 0 / 330.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.004511, allocations: 11.94 kB / 330.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.004627, allocations: 0 / 330.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.005197, allocations: 211.5 kB / 330.4 MB, free: 60 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.005299, allocations: 23.92 kB / 330.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.005341, allocations: 7.938 kB / 330.5 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.005387, allocations: 11.98 kB / 330.5 MB, free: 16 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.00544, allocations: 15.92 kB / 330.5 MB, free: 0 / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.005456, allocations: 0 / 330.5 MB, free: 0 / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.005751, allocations: 191.7 kB / 330.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of combineBinaries: time 4.541e-05/0.005806, allocations: 35.5 kB / 330.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 1.462e-05/0.005826, allocations: 23.66 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.959e-06/0.005842, allocations: 4 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.999e-06/0.005857, allocations: 3.938 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000303/0.006164, allocations: 248.3 kB / 331 MB, free: 15.4 MB / 286.1 MB Notification: Performance of FunctionAlias: time 5.675e-05/0.006227, allocations: 19.89 kB / 331 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Early Inline: time 7.477e-05/0.006308, allocations: 56.36 kB / 331.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simplify1: time 7.053e-06/0.006321, allocations: 3.984 kB / 331.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Alias: time 0.0002091/0.006534, allocations: 84.67 kB / 331.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of simplify2: time 2.915e-06/0.006546, allocations: 224 / 331.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of Events: time 2.136e-05/0.006574, allocations: 11.98 kB / 331.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of Detect States: time 6.481e-05/0.006643, allocations: 32.19 kB / 331.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of Partitioning: time 3.766e-05/0.006686, allocations: 16.12 kB / 331.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of Causalize: time 6.151e-05/0.006753, allocations: 40.05 kB / 331.2 MB, free: 15.04 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 4.132e-05/0.006801, allocations: 52.61 kB / 331.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of Inline: time 0.0001454/0.006952, allocations: 114.4 kB / 331.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Partitioning: time 1.145e-05/0.006972, allocations: 12.12 kB / 331.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Cleanup: time 9.207e-06/0.006986, allocations: 7.938 kB / 331.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Causalize: time 0.0001227/0.007113, allocations: 96.06 kB / 331.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of Tearing: time 5.59e-06/0.007127, allocations: 384 / 331.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of Initialization: time 2.7e-07/0.007131, allocations: 0 / 331.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of Tearing: time 7.21e-07/0.007136, allocations: 0 / 331.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of Categorize: time 7.234e-06/0.007147, allocations: 0 / 331.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of Solve: time 4.481e-05/0.007198, allocations: 24.06 kB / 331.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Jacobian: time 3.156e-06/0.007206, allocations: 0 / 331.5 MB, free: 14.66 MB / 286.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: ......... 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, 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: ........... 3 (scalar:3, 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: Performance of backend: time 3.281e-05/0.007243, allocations: 26.03 kB / 331.6 MB, free: 14.64 MB / 286.1 MB Error: Internal error NSimStrongComponent.Block.createNoReturnBlocks failed for [ALGO] (0) ($RES_SIM_0) [----] Modelica.Utilities.Streams.print("x_zero = " + String(x_zero, 6, 0, true) + ", y_zero = " + String(y_zero, 6, 0, true) + ", A*sin(w*x_zero) = " + String(data.A * sin(data.w * x_zero), 6, 0, true), "");