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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.6904/0.6904, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00184/0.00184, allocations: 147.3 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002708, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 25.16 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04918/0.2026, allocations: 34.61 MB / 244.7 MB, free: 15.22 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.2029, allocations: 59.97 kB / 244.7 MB, free: 15.16 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.2177, allocations: 5.05 MB / 249.8 MB, free: 10.13 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2177, allocations: 0 / 249.8 MB, free: 10.13 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2177, allocations: 0 / 249.8 MB, free: 10.13 MB / 186.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.0004008/0.2181, allocations: 367.1 kB / 250.1 MB, free: 9.723 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2182, allocations: 12.03 kB / 250.1 MB, free: 9.711 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.2183, allocations: 7.688 kB / 250.1 MB, free: 9.707 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.2184, allocations: 167.8 kB / 250.3 MB, free: 9.504 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2185, allocations: 0 / 250.3 MB, free: 9.504 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2185, allocations: 0 / 250.3 MB, free: 9.504 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.011e-05/0.2186, allocations: 33.69 kB / 250.3 MB, free: 9.465 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2186, allocations: 3.938 kB / 250.3 MB, free: 9.461 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2186, allocations: 4 kB / 250.4 MB, free: 9.457 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2186, allocations: 3.953 kB / 250.4 MB, free: 9.453 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.2187, allocations: 8 kB / 250.4 MB, free: 9.445 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2191, allocations: 392.5 kB / 250.7 MB, free: 9.008 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.2192, allocations: 173.1 kB / 250.9 MB, free: 8.828 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2192, allocations: 79.27 kB / 251 MB, free: 8.75 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.2193, allocations: 113.8 kB / 251.1 MB, free: 8.629 MB / 186.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2193, allocations: 0 / 251.1 MB, free: 8.629 MB / 186.7 MB Notification: Performance of matching and sorting (n=0): time 9.079e-05/0.2194, allocations: 29.66 kB / 251.1 MB, free: 8.594 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.2195, allocations: 162 kB / 251.3 MB, free: 8.418 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2196, allocations: 105 kB / 251.4 MB, free: 8.309 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2196, allocations: 29.69 kB / 251.4 MB, free: 8.273 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.2197, allocations: 88.05 kB / 251.5 MB, free: 8.184 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.2197, allocations: 0 / 251.5 MB, free: 8.184 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.2197, allocations: 4 kB / 251.5 MB, free: 8.18 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2199, allocations: 314.8 kB / 251.8 MB, free: 7.863 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.2199, allocations: 0 / 251.8 MB, free: 7.863 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.2199, allocations: 7.984 kB / 251.8 MB, free: 7.855 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.2199, allocations: 11.94 kB / 251.8 MB, free: 7.844 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.22, allocations: 0 / 251.8 MB, free: 7.844 MB / 186.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.2201, allocations: 33.7 kB / 251.9 MB, free: 7.805 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2201, allocations: 4 kB / 251.9 MB, free: 7.801 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2201, allocations: 2.438 kB / 251.9 MB, free: 7.801 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2201, allocations: 4 kB / 251.9 MB, free: 7.797 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.2202, allocations: 7.953 kB / 251.9 MB, free: 7.789 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2202, allocations: 3.984 kB / 251.9 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.2202, allocations: 2.25 kB / 251.9 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2202, allocations: 3.938 kB / 251.9 MB, free: 7.781 MB / 186.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 0.0001159/0.2204, allocations: 193.6 kB / 252.1 MB, free: 7.582 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.2204, allocations: 108.8 kB / 252.2 MB, free: 7.469 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.2205, allocations: 120.3 kB / 252.3 MB, free: 7.348 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/0.2206, allocations: 180.3 kB / 252.5 MB, free: 7.164 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-05/0.2207, allocations: 184.2 kB / 252.7 MB, free: 6.977 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/0.2207, allocations: 184.3 kB / 252.9 MB, free: 6.789 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.221, allocations: 401.2 kB / 253.2 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.221, allocations: 109 kB / 253.3 MB, free: 6.227 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.2211, allocations: 109 kB / 253.5 MB, free: 6.113 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.2212, allocations: 180.2 kB / 253.6 MB, free: 5.93 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.2212, allocations: 176.3 kB / 253.8 MB, free: 5.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.476e-05/0.2213, allocations: 184.2 kB / 254 MB, free: 5.562 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-05/0.2214, allocations: 176.3 kB / 254.2 MB, free: 5.383 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.2216, allocations: 315.7 kB / 254.5 MB, free: 5.051 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.2217, allocations: 183.8 kB / 254.6 MB, free: 4.848 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.2218, allocations: 184.2 kB / 254.8 MB, free: 4.66 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2219, allocations: 105 kB / 254.9 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.222, allocations: 184.2 kB / 255.1 MB, free: 4.363 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.2221, allocations: 105 kB / 255.2 MB, free: 4.254 MB / 186.7 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.2221, allocations: 91.27 kB / 255.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2221, allocations: 0 / 255.3 MB, free: 4.164 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000367/0.2225, allocations: 55.88 kB / 255.4 MB, free: 4.109 MB / 186.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.0005308/0.223, allocations: 268.1 kB / 255.6 MB, free: 3.859 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.2231, allocations: 8 kB / 255.6 MB, free: 3.852 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2231, allocations: 0 / 255.6 MB, free: 3.852 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.2231, allocations: 3.938 kB / 255.6 MB, free: 3.848 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2235, allocations: 0.5278 MB / 256.2 MB, free: 3.316 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.2237, allocations: 171.2 kB / 256.3 MB, free: 3.121 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2239, allocations: 0.677 MB / 257 MB, free: 2.418 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.224, allocations: 8 kB / 257 MB, free: 2.41 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.224, allocations: 15.42 kB / 257 MB, free: 2.398 MB / 186.7 MB Notification: Performance of SimCode: time 3.11e-07/0.224, allocations: 0 / 257 MB, free: 2.398 MB / 186.7 MB Notification: Performance of Templates: time 0.003475/0.2275, allocations: 1.038 MB / 258.1 MB, free: 1.383 MB / 186.7 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)