Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001581/0.001582, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.339/1.339, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 103.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.447e-05, allocations: 7.984 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09348, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.3986, allocations: 66.82 MB / 374.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.399, allocations: 67.41 kB / 374.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.4141, allocations: 5.207 MB / 379.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4141, allocations: 0 / 379.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4141, allocations: 0 / 379.7 MB, free: 4.984 MB / 266.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.0003307/0.4145, allocations: 358.2 kB / 380.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4145, allocations: 8.031 kB / 380.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.4146, allocations: 4 kB / 380.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4147, allocations: 163.1 kB / 380.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4148, allocations: 4 kB / 380.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4148, allocations: 0 / 380.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.4149, allocations: 36.91 kB / 380.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4149, allocations: 0 / 380.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4149, allocations: 3.984 kB / 380.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4149, allocations: 0 / 380.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.415, allocations: 15.92 kB / 380.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.4153, allocations: 392.2 kB / 380.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.4154, allocations: 169.1 kB / 380.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.4155, allocations: 80.14 kB / 380.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.4155, allocations: 82.41 kB / 381 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.4156, allocations: 113.8 kB / 381.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4156, allocations: 4 kB / 381.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.839e-05/0.4157, allocations: 33.55 kB / 381.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.4157, allocations: 152.4 kB / 381.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4159, allocations: 104.1 kB / 381.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.4159, allocations: 29.7 kB / 381.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.416, allocations: 95.56 kB / 381.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.416, allocations: 0 / 381.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.416, allocations: 0 / 381.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4161, allocations: 310.8 kB / 381.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.4161, allocations: 7.844 kB / 381.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.4161, allocations: 4 kB / 381.8 MB, free: 2.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.4162, allocations: 3.984 kB / 381.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4162, allocations: 0 / 381.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.4163, allocations: 60.78 kB / 381.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4163, allocations: 4 kB / 381.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4163, allocations: 0 / 381.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4164, allocations: 0 / 381.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.4164, allocations: 4 kB / 381.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4164, allocations: 0 / 381.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.4165, allocations: 0 / 381.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4165, allocations: 7.922 kB / 381.9 MB, free: 2.59 MB / 266.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.614e-05/0.4166, allocations: 180.3 kB / 382.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.4167, allocations: 109 kB / 382.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.4167, allocations: 119.5 kB / 382.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-05/0.4168, allocations: 180.2 kB / 382.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/0.4169, allocations: 180.2 kB / 382.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/0.417, allocations: 176.3 kB / 382.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4172, allocations: 408.5 kB / 383.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/0.4172, allocations: 111.8 kB / 383.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.4173, allocations: 101 kB / 383.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.036e-05/0.4173, allocations: 184.2 kB / 383.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.4174, allocations: 180.2 kB / 383.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.484e-05/0.4175, allocations: 184.2 kB / 384 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.042e-05/0.4176, allocations: 183.6 kB / 384.2 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.4177, allocations: 303.8 kB / 384.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.4178, allocations: 184.8 kB / 384.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.4179, allocations: 184.2 kB / 384.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.418, allocations: 112.9 kB / 384.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.4181, allocations: 180.3 kB / 385.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.4181, allocations: 112 kB / 385.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.4182, allocations: 87.44 kB / 385.3 MB, free: 15 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4182, allocations: 0 / 385.3 MB, free: 15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.4185, allocations: 58.98 kB / 385.4 MB, free: 14.95 MB / 282.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.0005178/0.419, allocations: 278.4 kB / 385.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.534e-05/0.4191, allocations: 7.062 kB / 385.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4191, allocations: 0 / 385.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-06/0.4191, allocations: 8 kB / 385.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4194, allocations: 0.5256 MB / 386.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.4196, allocations: 124.2 kB / 386.3 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4198, allocations: 0.677 MB / 387 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.4199, allocations: 15.98 kB / 387 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.4199, allocations: 7.438 kB / 387 MB, free: 13.27 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4199, allocations: 0 / 387 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Templates: time 0.003292/0.4232, allocations: 1.056 MB / 388.1 MB, free: 12.22 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)