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.005191/0.00519, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001121/0.001121, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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: 51.94 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08257, allocations: 46.61 MB / 373.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002937/0.08555, allocations: 2.26 MB / 375.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.08668, allocations: 0.7845 MB / 376.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.08672, allocations: 0 / 376.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.463e-05/0.08681, allocations: 4 kB / 376.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.08693, allocations: 11.91 kB / 376.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.08753, allocations: 211.5 kB / 376.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.08761, allocations: 15.98 kB / 376.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.08765, allocations: 0 / 376.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.0877, allocations: 15.88 kB / 376.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.08777, allocations: 19.91 kB / 376.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.08778, allocations: 0 / 376.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.08806, allocations: 191.7 kB / 376.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.08808, allocations: 8 kB / 376.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.08812, allocations: 7.922 kB / 376.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.08836, allocations: 127.8 kB / 376.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.08837, allocations: 4 kB / 376.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08838, allocations: 0 / 376.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.08839, allocations: 0 / 376.8 MB, free: 0.9102 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.000338/0.08873, allocations: 351.4 kB / 377.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.08878, allocations: 8.031 kB / 377.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.08882, allocations: 4.938 kB / 377.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.08897, allocations: 176.2 kB / 377.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.08898, allocations: 384 / 377.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.089, allocations: 4.375 kB / 377.3 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.08911, allocations: 38 kB / 377.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.08912, allocations: 0 / 377.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.08914, allocations: 0 / 377.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.08915, allocations: 0 / 377.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.08918, allocations: 4 kB / 377.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/0.267, allocations: 395.8 kB / 377.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.2672, allocations: 175.5 kB / 377.9 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.2672, allocations: 80.14 kB / 378 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.2672, allocations: 76.19 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2672, allocations: 107.2 kB / 378.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.2673, allocations: 2.5 kB / 378.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.2674, allocations: 33.11 kB / 378.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.2674, allocations: 154 kB / 378.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2676, allocations: 117.8 kB / 378.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2676, allocations: 25.7 kB / 378.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.2676, allocations: 94.7 kB / 378.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/0.2677, allocations: 0 / 378.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2677, allocations: 16.38 kB / 378.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.2678, allocations: 313.5 kB / 378.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2678, allocations: 5.656 kB / 378.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.2678, allocations: 5.734 kB / 378.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.2679, allocations: 15.03 kB / 378.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2679, allocations: 1.031 kB / 378.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.268, allocations: 38.02 kB / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.268, allocations: 9.625 kB / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2681, allocations: 2.656 kB / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2681, allocations: 0 / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.2682, allocations: 2.031 kB / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2682, allocations: 0 / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.2682, allocations: 9.391 kB / 379 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2683, allocations: 4.844 kB / 379 MB, free: 11.89 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 7.632e-05/0.2683, allocations: 183.9 kB / 379.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.2684, allocations: 113.9 kB / 379.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2684, allocations: 107.4 kB / 379.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.2685, allocations: 187.8 kB / 379.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/0.2685, allocations: 178 kB / 379.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.2685, allocations: 186.3 kB / 379.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2687, allocations: 404.2 kB / 380.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.2687, allocations: 107.4 kB / 380.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.2687, allocations: 114.1 kB / 380.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/0.2687, allocations: 186.1 kB / 380.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.2688, allocations: 178.4 kB / 380.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.2688, allocations: 176.9 kB / 381.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-05/0.2688, allocations: 182 kB / 381.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.2689, allocations: 314.6 kB / 381.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.2689, allocations: 181 kB / 381.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.269, allocations: 182.9 kB / 381.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.2691, allocations: 107.8 kB / 382 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2691, allocations: 185.7 kB / 382.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2691, allocations: 107 kB / 382.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.2692, allocations: 94.62 kB / 382.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2692, allocations: 0 / 382.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.2695, allocations: 45.52 kB / 382.5 MB, free: 8.395 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.0004914/0.27, allocations: 270.2 kB / 382.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.2701, allocations: 7.844 kB / 382.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2701, allocations: 1.031 kB / 382.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.2701, allocations: 5.375 kB / 382.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2704, allocations: 462 kB / 383.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.2706, allocations: 168.7 kB / 383.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2707, allocations: 0.6763 MB / 384 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.2707, allocations: 5.656 kB / 384 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.2708, allocations: 14.03 kB / 384 MB, free: 6.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2708, allocations: 0 / 384 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Templates: time 0.003804/0.2746, allocations: 1.099 MB / 385.1 MB, free: 6.789 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)