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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001644/0.001644, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.442/1.442, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001129/0.001129, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1977, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00269/0.2004, allocations: 2.326 MB / 327.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2015, allocations: 0.7753 MB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.2016, allocations: 0 / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.417e-05/0.2017, allocations: 7.188 kB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.368e-05/0.2018, allocations: 2.406 kB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.2023, allocations: 190.1 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.2024, allocations: 21.69 kB / 328.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.2024, allocations: 2.781 kB / 328.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.2025, allocations: 12.09 kB / 328.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.2025, allocations: 13.36 kB / 328.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2025, allocations: 1.375 kB / 328.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2027, allocations: 154.2 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.2028, allocations: 1.062 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.2028, allocations: 10.09 kB / 328.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.203, allocations: 122.2 kB / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.203, allocations: 0 / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.203, allocations: 0 / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.203, allocations: 0 / 328.5 MB, free: 15.15 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.0003536/0.2034, allocations: 361.3 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2034, allocations: 9.656 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.2035, allocations: 7.031 kB / 328.8 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2036, allocations: 174.5 kB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-06/0.2036, allocations: 384 / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2036, allocations: 5.75 kB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/0.2037, allocations: 34.3 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2037, allocations: 0 / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2037, allocations: 1.25 kB / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2038, allocations: 0 / 329 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.2038, allocations: 6.703 kB / 329.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.2041, allocations: 403.6 kB / 329.4 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.2042, allocations: 166.3 kB / 329.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.2042, allocations: 80.14 kB / 329.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2042, allocations: 76.41 kB / 329.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.2043, allocations: 119 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2043, allocations: 0 / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 8.689e-05/0.2044, allocations: 30.73 kB / 329.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.2044, allocations: 153.5 kB / 330.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2046, allocations: 115.5 kB / 330.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2046, allocations: 25.7 kB / 330.2 MB, free: 13.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2046, allocations: 90.52 kB / 330.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.2046, allocations: 0 / 330.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.2047, allocations: 22.58 kB / 330.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.2048, allocations: 312 kB / 330.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.2048, allocations: 1.281 kB / 330.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.2048, allocations: 15.48 kB / 330.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.2049, allocations: 12.17 kB / 330.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2049, allocations: 0 / 330.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001123/0.205, allocations: 45.7 kB / 330.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.205, allocations: 8.781 kB / 330.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.205, allocations: 1.25 kB / 330.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.205, allocations: 0 / 330.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.2051, allocations: 6.391 kB / 330.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2051, allocations: 0 / 330.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.2052, allocations: 5.156 kB / 330.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2052, allocations: 1.125 kB / 330.7 MB, free: 12.78 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 8.34e-05/0.2053, allocations: 187.4 kB / 330.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2053, allocations: 110.1 kB / 331 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.2054, allocations: 118.5 kB / 331.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/0.2054, allocations: 181.4 kB / 331.3 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-05/0.2055, allocations: 181.2 kB / 331.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/0.2056, allocations: 177.5 kB / 331.6 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.2058, allocations: 408.5 kB / 332 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/0.2058, allocations: 114.1 kB / 332.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.2058, allocations: 106.1 kB / 332.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.014e-05/0.2059, allocations: 185.3 kB / 332.4 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.206, allocations: 177.5 kB / 332.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-05/0.206, allocations: 176.3 kB / 332.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.355e-05/0.2061, allocations: 189.4 kB / 333 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2062, allocations: 308.1 kB / 333.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.2063, allocations: 184.5 kB / 333.4 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.2064, allocations: 181.2 kB / 333.6 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.2065, allocations: 106.2 kB / 333.7 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.2066, allocations: 181.5 kB / 333.9 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.2066, allocations: 106.1 kB / 334 MB, free: 9.281 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.2067, allocations: 96.48 kB / 334.1 MB, free: 9.195 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2067, allocations: 0 / 334.1 MB, free: 9.195 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.207, allocations: 41.28 kB / 334.1 MB, free: 9.188 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.0005183/0.2075, allocations: 269 kB / 334.4 MB, free: 8.973 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.2076, allocations: 8.656 kB / 334.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2076, allocations: 0 / 334.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2076, allocations: 0 / 334.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.208, allocations: 470.2 kB / 334.9 MB, free: 8.508 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.2082, allocations: 179.6 kB / 335 MB, free: 8.316 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2084, allocations: 0.673 MB / 335.7 MB, free: 7.621 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.2085, allocations: 12.2 kB / 335.7 MB, free: 7.613 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2085, allocations: 8.844 kB / 335.7 MB, free: 7.605 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2085, allocations: 0 / 335.7 MB, free: 7.605 MB / 270.1 MB Notification: Performance of Templates: time 0.00363/0.2121, allocations: 1.094 MB / 336.8 MB, free: 7.031 MB / 270.1 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)