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.001613/0.001613, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.559/1.559, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001765/0.001765, allocations: 110.3 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.774e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4721, allocations: 71.52 MB / 414.1 MB, free: 24.26 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4724, allocations: 70.14 kB / 414.2 MB, free: 24.22 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.4859, allocations: 5.186 MB / 419.3 MB, free: 19.93 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.486, allocations: 0.6562 kB / 419.3 MB, free: 19.93 MB / 315.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.486, allocations: 3.938 kB / 419.3 MB, free: 19.92 MB / 315.1 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.000325/0.4863, allocations: 355.8 kB / 419.7 MB, free: 19.54 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4864, allocations: 12.03 kB / 419.7 MB, free: 19.52 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.4864, allocations: 4.469 kB / 419.7 MB, free: 19.52 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4866, allocations: 167.6 kB / 419.9 MB, free: 19.32 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4866, allocations: 3.266 kB / 419.9 MB, free: 19.32 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.4866, allocations: 0.9375 kB / 419.9 MB, free: 19.32 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.681e-05/0.4866, allocations: 7.984 kB / 419.9 MB, free: 19.31 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.926e-05/0.4867, allocations: 33.2 kB / 419.9 MB, free: 19.28 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4867, allocations: 0 / 419.9 MB, free: 19.28 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4867, allocations: 1.125 kB / 419.9 MB, free: 19.28 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4868, allocations: 0 / 419.9 MB, free: 19.28 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.4871, allocations: 384 kB / 420.3 MB, free: 18.87 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.4872, allocations: 168.5 kB / 420.5 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.4872, allocations: 84.14 kB / 420.5 MB, free: 18.61 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.4872, allocations: 75.28 kB / 420.6 MB, free: 18.54 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4873, allocations: 110.7 kB / 420.7 MB, free: 18.42 MB / 315.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.4873, allocations: 0 / 420.7 MB, free: 18.42 MB / 315.1 MB Notification: Performance of matching and sorting (n=0): time 8.029e-05/0.4874, allocations: 29.64 kB / 420.7 MB, free: 18.38 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.4874, allocations: 81.11 kB / 420.8 MB, free: 18.29 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.4875, allocations: 107.8 kB / 420.9 MB, free: 18.18 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4875, allocations: 25.7 kB / 421 MB, free: 18.15 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.4876, allocations: 91.73 kB / 421 MB, free: 18.06 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.4876, allocations: 0 / 421 MB, free: 18.06 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4876, allocations: 4 kB / 421.1 MB, free: 18.05 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.4876, allocations: 324.7 kB / 421.4 MB, free: 17.73 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.4877, allocations: 3.438 kB / 421.4 MB, free: 17.73 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.4877, allocations: 4 kB / 421.4 MB, free: 17.73 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4878, allocations: 7.984 kB / 421.4 MB, free: 17.72 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4878, allocations: 4 kB / 421.4 MB, free: 17.71 MB / 315.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000144/0.488, allocations: 45.5 kB / 421.4 MB, free: 17.67 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.488, allocations: 4 kB / 421.4 MB, free: 17.66 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.488, allocations: 4.125 kB / 421.4 MB, free: 17.66 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.488, allocations: 3.938 kB / 421.4 MB, free: 17.66 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.4881, allocations: 7.938 kB / 421.5 MB, free: 17.65 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4881, allocations: 0 / 421.5 MB, free: 17.65 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.4881, allocations: 1.188 kB / 421.5 MB, free: 17.65 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.4882, allocations: 3.984 kB / 421.5 MB, free: 17.64 MB / 315.1 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 7.264e-05/0.4882, allocations: 188 kB / 421.6 MB, free: 17.45 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4883, allocations: 101.5 kB / 421.7 MB, free: 17.35 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.4883, allocations: 113 kB / 421.8 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.4884, allocations: 184.2 kB / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/0.4884, allocations: 180.2 kB / 422.2 MB, free: 16.86 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.4884, allocations: 179.5 kB / 422.4 MB, free: 16.68 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.4886, allocations: 389.5 kB / 422.8 MB, free: 16.26 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.4886, allocations: 106 kB / 422.9 MB, free: 16.15 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.4887, allocations: 110.2 kB / 423 MB, free: 16.04 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.739e-05/0.4887, allocations: 180.2 kB / 423.1 MB, free: 15.86 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4887, allocations: 180.2 kB / 423.3 MB, free: 15.67 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-05/0.4888, allocations: 176.3 kB / 423.5 MB, free: 15.49 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-05/0.4888, allocations: 184.2 kB / 423.7 MB, free: 15.3 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.143e-05/0.4889, allocations: 311.3 kB / 424 MB, free: 14.98 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.489, allocations: 186 kB / 424.2 MB, free: 14.77 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.489, allocations: 180.2 kB / 424.3 MB, free: 14.59 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.4891, allocations: 105 kB / 424.4 MB, free: 14.48 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.4892, allocations: 184.2 kB / 424.6 MB, free: 14.29 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4892, allocations: 115.6 kB / 424.7 MB, free: 14.18 MB / 315.1 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.4892, allocations: 86.72 kB / 424.8 MB, free: 14.1 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4892, allocations: 0 / 424.8 MB, free: 14.1 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.4896, allocations: 55.92 kB / 424.9 MB, free: 14.04 MB / 315.1 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.0005126/0.4901, allocations: 267.9 kB / 425.1 MB, free: 13.79 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 6.832e-05/0.4902, allocations: 7.938 kB / 425.1 MB, free: 13.79 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4902, allocations: 0 / 425.1 MB, free: 13.79 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.4902, allocations: 0 / 425.1 MB, free: 13.79 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4905, allocations: 0.5262 MB / 425.7 MB, free: 13.26 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.4906, allocations: 135 kB / 425.8 MB, free: 13.11 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4908, allocations: 0.6807 MB / 426.5 MB, free: 12.4 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.4909, allocations: 9.188 kB / 426.5 MB, free: 12.39 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.4909, allocations: 11.44 kB / 426.5 MB, free: 12.39 MB / 315.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4909, allocations: 0 / 426.5 MB, free: 12.39 MB / 315.1 MB Notification: Performance of Templates: time 0.003771/0.4947, allocations: 1.008 MB / 427.5 MB, free: 11.41 MB / 315.1 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)