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.001081/0.001081, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.458/1.458, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001777/0.001777, allocations: 112.3 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 16 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 44.48 MB / 355 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.428, allocations: 72.27 MB / 427.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4283, allocations: 73.67 kB / 427.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.4415, allocations: 5.235 MB / 432.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4415, allocations: 0 / 432.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4415, allocations: 0.5 kB / 432.6 MB, free: 12.86 MB / 314.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.0003262/0.4419, allocations: 356.8 kB / 433 MB, free: 12.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4419, allocations: 12.03 kB / 433 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.442, allocations: 3.688 kB / 433 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.4421, allocations: 179.6 kB / 433.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4421, allocations: 0 / 433.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.4421, allocations: 0 / 433.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.4422, allocations: 40.7 kB / 433.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4422, allocations: 3.984 kB / 433.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4423, allocations: 0 / 433.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4423, allocations: 0 / 433.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.4423, allocations: 4 kB / 433.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.4426, allocations: 399.4 kB / 433.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.4427, allocations: 171.8 kB / 433.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.4427, allocations: 79.8 kB / 433.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4428, allocations: 113.8 kB / 434 MB, free: 11.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.4428, allocations: 0 / 434 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.955e-05/0.4428, allocations: 30.23 kB / 434 MB, free: 11.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4429, allocations: 155.3 kB / 434.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.443, allocations: 112.4 kB / 434.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.443, allocations: 29.7 kB / 434.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.4431, allocations: 80.14 kB / 434.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4431, allocations: 0 / 434.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.4431, allocations: 7.875 kB / 434.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.4432, allocations: 318.8 kB / 434.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.4432, allocations: 4 kB / 434.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.4432, allocations: 4 kB / 434.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.4432, allocations: 4.25 kB / 434.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4433, allocations: 0 / 434.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001073/0.4434, allocations: 37.69 kB / 434.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4434, allocations: 8 kB / 434.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4434, allocations: 4.125 kB / 434.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4434, allocations: 0 / 434.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.4435, allocations: 1.406 kB / 434.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4435, allocations: 4 kB / 434.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.4435, allocations: 7.844 kB / 434.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4435, allocations: 0 / 434.7 MB, free: 10.56 MB / 314.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.4436, allocations: 191.6 kB / 434.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.4437, allocations: 105.4 kB / 435 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.4437, allocations: 112.5 kB / 435.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.4438, allocations: 186.5 kB / 435.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/0.4438, allocations: 178.5 kB / 435.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/0.4438, allocations: 184.2 kB / 435.7 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.444, allocations: 414.7 kB / 436.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.444, allocations: 109 kB / 436.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.4441, allocations: 104.9 kB / 436.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.93e-05/0.4441, allocations: 176.3 kB / 436.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.4442, allocations: 180.2 kB / 436.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.537e-05/0.4442, allocations: 189.5 kB / 436.8 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-05/0.4442, allocations: 176.3 kB / 437 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.4443, allocations: 310.4 kB / 437.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.4444, allocations: 186 kB / 437.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.4445, allocations: 180.3 kB / 437.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.4445, allocations: 104.2 kB / 437.8 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4446, allocations: 184.2 kB / 437.9 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.4446, allocations: 105 kB / 438 MB, free: 7.059 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.4447, allocations: 104.2 kB / 438.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4447, allocations: 0 / 438.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.445, allocations: 51.92 kB / 438.2 MB, free: 6.914 MB / 314.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 () * 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 (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.0005516/0.4456, allocations: 280 kB / 438.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.4456, allocations: 4 kB / 438.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4456, allocations: 0 / 438.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.4457, allocations: 0 / 438.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.4459, allocations: 0.5255 MB / 439 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.4461, allocations: 176.2 kB / 439.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.4463, allocations: 0.6781 MB / 439.9 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.285e-05/0.4463, allocations: 19.83 kB / 439.9 MB, free: 5.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.4463, allocations: 11.44 kB / 439.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4463, allocations: 0 / 439.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Templates: time 0.003203/0.4495, allocations: 1.043 MB / 440.9 MB, free: 4.203 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)