Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001134/0.001135, allocations: 182.5 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.566/1.566, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001785/0.001786, allocations: 110.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.006e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09835, allocations: 44.49 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4758, allocations: 72.18 MB / 421.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.476, allocations: 71.97 kB / 421.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.4899, allocations: 5.212 MB / 426.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.49, allocations: 3.984 kB / 426.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.49, allocations: 0 / 426.9 MB, free: 9.758 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003445/0.4903, allocations: 348.5 kB / 427.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/0.4904, allocations: 7.719 kB / 427.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.4905, allocations: 3.844 kB / 427.3 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4906, allocations: 180.1 kB / 427.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4907, allocations: 0 / 427.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.4907, allocations: 0 / 427.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.4908, allocations: 37.38 kB / 427.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4908, allocations: 0 / 427.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4908, allocations: 0 / 427.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4908, allocations: 0 / 427.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.4909, allocations: 7.953 kB / 427.5 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.4913, allocations: 403.1 kB / 427.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.131e-05/0.4914, allocations: 169.1 kB / 428 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.4914, allocations: 80.14 kB / 428.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.4914, allocations: 79.12 kB / 428.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.4915, allocations: 109.8 kB / 428.3 MB, free: 8.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.4915, allocations: 3.938 kB / 428.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.555e-05/0.4916, allocations: 33.33 kB / 428.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.4917, allocations: 156.2 kB / 428.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4918, allocations: 111.2 kB / 428.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4918, allocations: 25.7 kB / 428.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.4919, allocations: 91.86 kB / 428.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4919, allocations: 0 / 428.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.4919, allocations: 0 / 428.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.4919, allocations: 326.2 kB / 429 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.492, allocations: 3.844 kB / 429 MB, free: 7.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.492, allocations: 7.312 kB / 429 MB, free: 7.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.492, allocations: 3.844 kB / 429 MB, free: 7.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.492, allocations: 0 / 429 MB, free: 7.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.4921, allocations: 37.41 kB / 429.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4922, allocations: 7.656 kB / 429.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4922, allocations: 3.938 kB / 429.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4922, allocations: 4.125 kB / 429.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.4923, allocations: 0 / 429.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4923, allocations: 3.812 kB / 429.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.4923, allocations: 480 / 429.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4923, allocations: 0 / 429.1 MB, free: 7.469 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/0.4924, allocations: 186.9 kB / 429.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.4925, allocations: 105 kB / 429.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.4926, allocations: 116.5 kB / 429.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.4926, allocations: 183.9 kB / 429.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.4927, allocations: 176.3 kB / 429.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.214e-05/0.4927, allocations: 180.2 kB / 430 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.4929, allocations: 412.2 kB / 430.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.4929, allocations: 108.7 kB / 430.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.493, allocations: 109 kB / 430.6 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.729e-05/0.493, allocations: 176.3 kB / 430.8 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.4931, allocations: 183.8 kB / 431 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.959e-05/0.4931, allocations: 180.2 kB / 431.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.171e-05/0.4932, allocations: 184.2 kB / 431.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.4933, allocations: 310.8 kB / 431.6 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.4933, allocations: 189.9 kB / 431.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.4934, allocations: 180.2 kB / 432 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.4935, allocations: 104.9 kB / 432.1 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4935, allocations: 179.6 kB / 432.3 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.4936, allocations: 112.8 kB / 432.4 MB, free: 3.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.4936, allocations: 94.77 kB / 432.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4936, allocations: 0 / 432.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.494, allocations: 54.09 kB / 432.5 MB, free: 3.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005261/0.4945, allocations: 277.2 kB / 432.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.4946, allocations: 7 kB / 432.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4946, allocations: 0 / 432.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4946, allocations: 0 / 432.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4949, allocations: 0.5301 MB / 433.3 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.4951, allocations: 135.4 kB / 433.5 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4955, allocations: 0.6806 MB / 434.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.4955, allocations: 3.656 kB / 434.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.4955, allocations: 15.3 kB / 434.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4955, allocations: 4 kB / 434.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of Templates: time 0.004077/0.4996, allocations: 1.054 MB / 435.2 MB, free: 17.75 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)