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.0009886/0.0009886, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005349/0.005349, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004282/0.0004283, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001909/0.2108, allocations: 1.965 MB / 329 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2121, allocations: 0.79 MB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.2121, allocations: 4 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.803e-05/0.2122, allocations: 4.469 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2123, allocations: 5.234 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.2129, allocations: 165.6 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.213, allocations: 28.61 kB / 330 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.213, allocations: 6.562 kB / 330 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.2131, allocations: 8.125 kB / 330 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.2131, allocations: 13.62 kB / 330 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2131, allocations: 5.156 kB / 330 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2134, allocations: 141.5 kB / 330.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.2134, allocations: 1.312 kB / 330.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.2135, allocations: 35.89 kB / 330.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.2137, allocations: 129.5 kB / 330.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2137, allocations: 0 / 330.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.2137, allocations: 5.141 kB / 330.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2137, allocations: 0 / 330.3 MB, free: 14.87 MB / 270.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.000369/0.2141, allocations: 353.2 kB / 330.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2142, allocations: 10.06 kB / 330.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.2142, allocations: 2.312 kB / 330.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2144, allocations: 167.1 kB / 330.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2144, allocations: 384 / 330.8 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2144, allocations: 1.906 kB / 330.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.2145, allocations: 41.31 kB / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2145, allocations: 0 / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.2145, allocations: 5.125 kB / 330.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2146, allocations: 0 / 330.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.2146, allocations: 7.188 kB / 330.9 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.215, allocations: 400 kB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.2151, allocations: 165.1 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.2152, allocations: 85.27 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.2152, allocations: 75.28 kB / 331.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.2152, allocations: 110.8 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2153, allocations: 0.9062 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 7.178e-05/0.2153, allocations: 27.61 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.2154, allocations: 156.4 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2155, allocations: 119.6 kB / 332 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2156, allocations: 30.89 kB / 332 MB, free: 13.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.2156, allocations: 89.42 kB / 332.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2157, allocations: 0 / 332.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.2157, allocations: 10.56 kB / 332.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2158, allocations: 316 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.2158, allocations: 1.156 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.2159, allocations: 8.016 kB / 332.5 MB, free: 12.58 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.2159, allocations: 19.14 kB / 332.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2159, allocations: 4.938 kB / 332.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.948e-05/0.216, allocations: 38.05 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.216, allocations: 8.406 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.216, allocations: 4.859 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2161, allocations: 0 / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.2161, allocations: 2.281 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2161, allocations: 0.9688 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.2162, allocations: 0 / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2162, allocations: 2.156 kB / 332.5 MB, free: 12.52 MB / 270.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.0001009/0.2163, allocations: 191.3 kB / 332.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2164, allocations: 111.1 kB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.2164, allocations: 113.3 kB / 332.9 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.16e-05/0.2165, allocations: 177.2 kB / 333.1 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/0.2165, allocations: 181.7 kB / 333.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/0.2166, allocations: 185.2 kB / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2168, allocations: 413.3 kB / 333.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.2169, allocations: 109 kB / 334 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.2169, allocations: 110 kB / 334.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.555e-05/0.217, allocations: 181.5 kB / 334.3 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.217, allocations: 177.6 kB / 334.4 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.945e-05/0.2171, allocations: 185.2 kB / 334.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-05/0.2171, allocations: 181.4 kB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2173, allocations: 311.7 kB / 335.1 MB, free: 9.801 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.2173, allocations: 180.6 kB / 335.3 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.2174, allocations: 189.4 kB / 335.5 MB, free: 9.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2176, allocations: 102 kB / 335.6 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2176, allocations: 185.5 kB / 335.8 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.2177, allocations: 101 kB / 335.8 MB, free: 9.012 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.2178, allocations: 96.88 kB / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2178, allocations: 1.031 kB / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.218, allocations: 41.2 kB / 336 MB, free: 8.918 MB / 270.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.0004672/0.2185, allocations: 261 kB / 336.2 MB, free: 8.711 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.2186, allocations: 15.19 kB / 336.3 MB, free: 8.699 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2186, allocations: 0.9688 kB / 336.3 MB, free: 8.699 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.2186, allocations: 0 / 336.3 MB, free: 8.699 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.219, allocations: 0.5244 MB / 336.8 MB, free: 8.172 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.2192, allocations: 171.8 kB / 336.9 MB, free: 7.988 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2195, allocations: 0.6773 MB / 337.6 MB, free: 7.289 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.898e-05/0.2195, allocations: 3.344 kB / 337.6 MB, free: 7.289 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.2196, allocations: 10.06 kB / 337.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2196, allocations: 0 / 337.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of Templates: time 0.003421/0.223, allocations: 1.081 MB / 338.7 MB, free: 6.707 MB / 270.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)