Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_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.001161/0.001161, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001132/0.001132, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.164/1.164, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.184e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001042/0.001061, allocations: 0.4979 MB / 352.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.002523, allocations: 1.375 MB / 353.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.002551, allocations: 4 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.00257, allocations: 0 / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.215e-05/0.002597, allocations: 3.938 kB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.003112, allocations: 180.3 kB / 354 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.00317, allocations: 15.92 kB / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.003207, allocations: 8 kB / 354 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.003245, allocations: 19.91 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.003288, allocations: 4 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.003303, allocations: 0 / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.003513, allocations: 163.8 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of combineBinaries: time 3.414e-05/0.003555, allocations: 31.58 kB / 354.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.536e-06/0.003569, allocations: 15.81 kB / 354.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.043e-05/0.003585, allocations: 11.94 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.733e-06/0.003596, allocations: 0 / 354.2 MB, free: 0.9609 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.0002565/0.003856, allocations: 204.8 kB / 354.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.276e-05/0.003906, allocations: 15.92 kB / 354.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of Early Inline: time 5.844e-05/0.00397, allocations: 64.34 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of simplify1: time 3.947e-06/0.00398, allocations: 0 / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of Alias: time 0.0001811/0.004165, allocations: 88.62 kB / 354.6 MB, free: 432 kB / 286.1 MB Notification: Performance of simplify2: time 1.993e-06/0.004175, allocations: 0 / 354.6 MB, free: 432 kB / 286.1 MB Notification: Performance of Events: time 1.461e-05/0.004194, allocations: 7.984 kB / 354.6 MB, free: 424 kB / 286.1 MB Notification: Performance of Detect States: time 0.0001086/0.004307, allocations: 32.17 kB / 354.6 MB, free: 376 kB / 286.1 MB Notification: Performance of Partitioning: time 3.757e-05/0.004351, allocations: 20.11 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of Causalize: time 4.369e-05/0.0044, allocations: 24.25 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 4.156e-05/0.004448, allocations: 52.36 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of Inline: time 7.598e-05/0.004529, allocations: 92.42 kB / 354.8 MB, free: 108 kB / 286.1 MB Notification: Performance of Partitioning: time 9.458e-06/0.004545, allocations: 12.11 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of Cleanup: time 6.893e-06/0.004556, allocations: 7.984 kB / 354.8 MB, free: 80 kB / 286.1 MB Notification: Performance of Causalize: time 5.631e-05/0.004616, allocations: 44.23 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of Tearing: time 4.549e-06/0.004629, allocations: 0 / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of Initialization: time 2.6e-07/0.004633, allocations: 0 / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of Tearing: time 6.32e-07/0.004637, allocations: 0 / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of Categorize: time 6.643e-06/0.004647, allocations: 4 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of Solve: time 2.27e-05/0.004674, allocations: 4 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of Jacobian: time 1.009e-05/0.004688, allocations: 3.938 kB / 354.9 MB, free: 16 kB / 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: ........... 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: Performance of backend: time 2.326e-05/0.004715, allocations: 16.73 kB / 354.9 MB, free: 4 kB / 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(A * sin(w * x_zero), 6, 0, true), "");