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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00201/0.00201, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.754 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.001139/0.001139, allocations: 43.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1987, allocations: 46.63 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002714/0.2014, allocations: 2.311 MB / 327 MB, free: 56 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2027, allocations: 0.8055 MB / 327.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.2027, allocations: 1.156 kB / 327.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.2029, allocations: 3.594 kB / 327.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.203, allocations: 5 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.2035, allocations: 181.6 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.2036, allocations: 13.59 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.2036, allocations: 2.281 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.2037, allocations: 16.67 kB / 328 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2038, allocations: 9.219 kB / 328 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2038, allocations: 5.391 kB / 328 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.204, allocations: 144.7 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.204, allocations: 2.688 kB / 328.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.2041, allocations: 13.27 kB / 328.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.2044, allocations: 125.6 kB / 328.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2044, allocations: 4 kB / 328.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2044, allocations: 0 / 328.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.2044, allocations: 1.312 kB / 328.3 MB, free: 15.13 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.0003692/0.2048, allocations: 348.6 kB / 328.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2048, allocations: 9.812 kB / 328.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2048, allocations: 6.422 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.205, allocations: 171 kB / 328.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.205, allocations: 4.312 kB / 328.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.205, allocations: 1.719 kB / 328.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.2051, allocations: 49.47 kB / 328.9 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2051, allocations: 5.391 kB / 328.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2051, allocations: 0 / 328.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2052, allocations: 0 / 328.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.2052, allocations: 3.656 kB / 328.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.2055, allocations: 399.7 kB / 329.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.2056, allocations: 173.1 kB / 329.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.2057, allocations: 81.27 kB / 329.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2057, allocations: 75.28 kB / 329.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.2057, allocations: 106.7 kB / 329.7 MB, free: 13.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2057, allocations: 0 / 329.7 MB, free: 13.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 8.265e-05/0.2058, allocations: 32.52 kB / 329.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.2059, allocations: 156.4 kB / 329.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.206, allocations: 120.1 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2061, allocations: 25.7 kB / 330 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.2061, allocations: 94.28 kB / 330.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.2061, allocations: 0 / 330.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2062, allocations: 17.22 kB / 330.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.2063, allocations: 312.3 kB / 330.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.2063, allocations: 6.766 kB / 330.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.2063, allocations: 11.22 kB / 330.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.2064, allocations: 19.11 kB / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2064, allocations: 0 / 330.5 MB, free: 12.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.387e-05/0.2065, allocations: 38.72 kB / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2065, allocations: 4.656 kB / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2065, allocations: 0 / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2065, allocations: 1.031 kB / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.2066, allocations: 6.219 kB / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2066, allocations: 128 / 330.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.2066, allocations: 5.156 kB / 330.5 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2066, allocations: 1.188 kB / 330.5 MB, free: 12.76 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.0001006/0.2068, allocations: 191.5 kB / 330.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.2068, allocations: 110.4 kB / 330.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2069, allocations: 109.7 kB / 330.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/0.2069, allocations: 181.5 kB / 331.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.561e-05/0.207, allocations: 185.5 kB / 331.3 MB, free: 11.97 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.2071, allocations: 181.7 kB / 331.5 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.2073, allocations: 412 kB / 331.9 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.2074, allocations: 106.4 kB / 332 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.2074, allocations: 106 kB / 332.1 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.2075, allocations: 185.7 kB / 332.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.2076, allocations: 180.2 kB / 332.4 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.485e-05/0.2076, allocations: 177.4 kB / 332.6 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.174e-05/0.2077, allocations: 185.7 kB / 332.8 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.2078, allocations: 308.1 kB / 333.1 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.2079, allocations: 183.5 kB / 333.3 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.208, allocations: 181.7 kB / 333.5 MB, free: 9.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2081, allocations: 110.3 kB / 333.6 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.2082, allocations: 177.4 kB / 333.7 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.2082, allocations: 102.6 kB / 333.8 MB, free: 9.27 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.2083, allocations: 95.45 kB / 333.9 MB, free: 9.184 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2083, allocations: 0 / 333.9 MB, free: 9.184 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.2086, allocations: 41.25 kB / 334 MB, free: 9.176 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.0004972/0.2091, allocations: 270.2 kB / 334.2 MB, free: 8.961 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.2092, allocations: 7.578 kB / 334.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2092, allocations: 1.312 kB / 334.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2092, allocations: 0 / 334.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2096, allocations: 0.5243 MB / 334.8 MB, free: 8.43 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.2098, allocations: 176 kB / 334.9 MB, free: 8.242 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.21, allocations: 0.6854 MB / 335.6 MB, free: 7.535 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.2101, allocations: 7.75 kB / 335.6 MB, free: 7.531 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.2101, allocations: 8.594 kB / 335.6 MB, free: 7.523 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2101, allocations: 1.344 kB / 335.6 MB, free: 7.523 MB / 270.1 MB Notification: Performance of Templates: time 0.00344/0.2135, allocations: 1.076 MB / 336.7 MB, free: 6.957 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)