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.007264/0.007264, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001604/0.001604, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.374/1.374, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 50.7 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08813, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003425/0.09161, allocations: 2.253 MB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.09274, allocations: 0.7806 MB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.09278, allocations: 0 / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.09289, allocations: 7.938 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.09301, allocations: 11.92 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.09362, allocations: 219.4 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.09371, allocations: 19.92 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.09376, allocations: 4 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.09381, allocations: 7.984 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.09388, allocations: 11.92 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.09389, allocations: 4 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.09422, allocations: 191.7 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.09425, allocations: 3.984 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.09427, allocations: 11.88 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.09455, allocations: 123.7 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.09456, allocations: 4 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09457, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.09457, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.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.0004195/0.095, allocations: 359.2 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09504, allocations: 8.031 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.09508, allocations: 4.891 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.09523, allocations: 172.3 kB / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.09525, allocations: 384 / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.09526, allocations: 384 / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.09536, allocations: 42 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.09538, allocations: 3.938 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.09539, allocations: 4 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.0954, allocations: 0 / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.09543, allocations: 11.94 kB / 377.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.09587, allocations: 396 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.09598, allocations: 177.1 kB / 377.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.09603, allocations: 80.14 kB / 378 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.09607, allocations: 75.28 kB / 378.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.09613, allocations: 109.8 kB / 378.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.09614, allocations: 0 / 378.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001226/0.09627, allocations: 41.62 kB / 378.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.09635, allocations: 156.4 kB / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.09648, allocations: 117.8 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.0965, allocations: 25.7 kB / 378.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.09656, allocations: 88.14 kB / 378.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.09657, allocations: 0 / 378.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.09661, allocations: 17.7 kB / 378.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.09674, allocations: 314.8 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.09676, allocations: 8 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.09679, allocations: 0 / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.09682, allocations: 20.72 kB / 379 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09683, allocations: 0 / 379 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.09694, allocations: 41.66 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.09697, allocations: 8 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.09698, allocations: 0 / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.097, allocations: 0 / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.09705, allocations: 0 / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.09707, allocations: 4.125 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.09711, allocations: 7.938 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.09713, allocations: 3.984 kB / 379 MB, free: 11.19 MB / 318.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.09724, allocations: 189.1 kB / 379.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.09731, allocations: 108.9 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.09737, allocations: 104.5 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.09744, allocations: 188.2 kB / 379.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.09751, allocations: 180.3 kB / 379.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.664e-05/0.09757, allocations: 176.3 kB / 380 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.09781, allocations: 417 kB / 380.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/0.09785, allocations: 101 kB / 380.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.0979, allocations: 108.9 kB / 380.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.09803, allocations: 192.3 kB / 380.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.0981, allocations: 176.3 kB / 380.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.735e-05/0.09816, allocations: 180.2 kB / 381.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001583/0.09832, allocations: 180.3 kB / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.09853, allocations: 315.7 kB / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.09862, allocations: 182 kB / 381.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.09881, allocations: 184.2 kB / 382 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.09891, allocations: 101 kB / 382.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.09897, allocations: 184.2 kB / 382.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.09902, allocations: 109 kB / 382.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.09908, allocations: 95.28 kB / 382.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09909, allocations: 0 / 382.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.09937, allocations: 43.86 kB / 382.5 MB, free: 7.52 MB / 318.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004483/0.09982, allocations: 266 kB / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.088e-05/0.09991, allocations: 11.92 kB / 382.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.09991, allocations: 0 / 382.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.09992, allocations: 0 / 382.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1003, allocations: 467.6 kB / 383.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.1005, allocations: 168.2 kB / 383.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1008, allocations: 0.6768 MB / 384 MB, free: 5.883 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.1008, allocations: 7.984 kB / 384.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.1008, allocations: 11.44 kB / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1008, allocations: 0 / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of Templates: time 0.003342/0.1042, allocations: 1.101 MB / 385.2 MB, free: 4.762 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)