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.000923/0.000923, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008787/0.0008787, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004446/0.0004447, allocations: 8 kB / 278.8 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 47.59 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001801/0.1999, allocations: 1.825 MB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.201, allocations: 0.6974 MB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.201, allocations: 0 / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.064e-05/0.2011, allocations: 3.938 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.2012, allocations: 6.078 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.2018, allocations: 169 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.2018, allocations: 13.34 kB / 329.1 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.2019, allocations: 1.25 kB / 329.1 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.2019, allocations: 12.59 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.202, allocations: 17.34 kB / 329.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.202, allocations: 5.219 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.2022, allocations: 108.8 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2023, allocations: 6.328 kB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.2023, allocations: 33.58 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2025, allocations: 81.02 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.2025, allocations: 0 / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2025, allocations: 1.031 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2025, allocations: 0 / 329.4 MB, free: 15.12 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.0003365/0.2028, allocations: 346.2 kB / 329.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2029, allocations: 12.31 kB / 329.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.2029, allocations: 2.125 kB / 329.8 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2031, allocations: 169.7 kB / 329.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2031, allocations: 3.953 kB / 329.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.2031, allocations: 1.312 kB / 329.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.994e-05/0.2032, allocations: 33.86 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2032, allocations: 0 / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2032, allocations: 0 / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2032, allocations: 1.312 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.2033, allocations: 2.375 kB / 330 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.2036, allocations: 407.4 kB / 330.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.2037, allocations: 166.4 kB / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2037, allocations: 75.28 kB / 330.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.2038, allocations: 115 kB / 330.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2038, allocations: 1.062 kB / 330.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.2039, allocations: 42.59 kB / 330.8 MB, free: 13.65 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.204, allocations: 157.4 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2041, allocations: 123.3 kB / 331 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2041, allocations: 25.7 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.2042, allocations: 82.64 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2042, allocations: 0 / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2042, allocations: 3.938 kB / 331.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2043, allocations: 332.1 kB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.2043, allocations: 2.438 kB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.2044, allocations: 3.25 kB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.2044, allocations: 2.688 kB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2044, allocations: 0 / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.2045, allocations: 49.69 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2045, allocations: 5.469 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.2045, allocations: 0 / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2046, allocations: 4.125 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.2046, allocations: 2.812 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2046, allocations: 0 / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.2047, allocations: 0 / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2047, allocations: 2.625 kB / 331.5 MB, free: 12.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.2048, allocations: 186.4 kB / 331.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.2049, allocations: 115.6 kB / 331.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.2049, allocations: 117.5 kB / 331.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/0.205, allocations: 177.7 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-05/0.2051, allocations: 181 kB / 332.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/0.2051, allocations: 177.5 kB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2054, allocations: 413.2 kB / 332.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/0.2054, allocations: 104.9 kB / 333 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.2055, allocations: 110.3 kB / 333.1 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.2055, allocations: 181.6 kB / 333.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.2056, allocations: 177.8 kB / 333.4 MB, free: 10.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.915e-05/0.2057, allocations: 180.2 kB / 333.6 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.003e-05/0.2057, allocations: 181.6 kB / 333.8 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2058, allocations: 307.8 kB / 334.1 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.2059, allocations: 192 kB / 334.3 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.206, allocations: 181.4 kB / 334.5 MB, free: 9.766 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.2061, allocations: 106.1 kB / 334.6 MB, free: 9.656 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.2062, allocations: 181.5 kB / 334.7 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.2062, allocations: 110.1 kB / 334.8 MB, free: 9.359 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.2063, allocations: 92.67 kB / 334.9 MB, free: 9.277 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2063, allocations: 0 / 334.9 MB, free: 9.277 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.2066, allocations: 45.11 kB / 335 MB, free: 9.266 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 (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.0004828/0.2071, allocations: 268.6 kB / 335.2 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.2072, allocations: 3.938 kB / 335.2 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2072, allocations: 0 / 335.2 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.2072, allocations: 1.406 kB / 335.2 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2075, allocations: 0.5315 MB / 335.8 MB, free: 8.516 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.2077, allocations: 162.9 kB / 335.9 MB, free: 8.34 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.208, allocations: 0.6782 MB / 336.6 MB, free: 7.641 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.208, allocations: 8.641 kB / 336.6 MB, free: 7.637 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.208, allocations: 12.34 kB / 336.6 MB, free: 7.625 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.208, allocations: 1.156 kB / 336.6 MB, free: 7.625 MB / 270.1 MB Notification: Performance of Templates: time 0.003337/0.2114, allocations: 1.07 MB / 337.7 MB, free: 7.055 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: