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.0009314/0.0009315, allocations: 99.62 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.0009595/0.0009596, 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.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004337/0.0004337, allocations: 15.98 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002117/0.2305, allocations: 1.825 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2316, allocations: 0.6957 MB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.2317, allocations: 3.938 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.931e-05/0.2317, allocations: 3.812 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.2319, allocations: 11.92 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2324, allocations: 160.6 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.2324, allocations: 13.58 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.563e-05/0.2324, allocations: 1.125 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.2325, allocations: 13.36 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.2325, allocations: 16.17 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.2325, allocations: 1.094 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.2327, allocations: 109.7 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.2328, allocations: 9 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.2328, allocations: 26.83 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2329, allocations: 84.7 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.2329, allocations: 4 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.233, allocations: 1 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.233, allocations: 0 / 329.4 MB, free: 15.14 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.0002791/0.2332, allocations: 346.3 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2333, allocations: 9.562 kB / 329.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.2333, allocations: 1.25 kB / 329.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2335, allocations: 165.8 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.2335, allocations: 3.953 kB / 329.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.2335, allocations: 0 / 329.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.867e-05/0.2336, allocations: 34.27 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2336, allocations: 3.984 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2336, allocations: 1.156 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2336, allocations: 0 / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.2336, allocations: 6.906 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.234, allocations: 403.5 kB / 330.4 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.2341, allocations: 174.5 kB / 330.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.2341, allocations: 75.28 kB / 330.6 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2342, allocations: 107 kB / 330.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2342, allocations: 0 / 330.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 6.331e-05/0.2342, allocations: 35.95 kB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.2343, allocations: 157.6 kB / 330.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2344, allocations: 122.8 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2344, allocations: 25.7 kB / 331 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2345, allocations: 90.53 kB / 331.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.2345, allocations: 0 / 331.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.2345, allocations: 3.938 kB / 331.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2346, allocations: 316 kB / 331.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.2346, allocations: 6.406 kB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.2347, allocations: 2.625 kB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.671e-05/0.2347, allocations: 10.84 kB / 331.5 MB, free: 12.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2347, allocations: 0 / 331.5 MB, free: 12.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.2348, allocations: 50.03 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2348, allocations: 4.844 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2348, allocations: 0 / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2349, allocations: 1.25 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.194e-05/0.2349, allocations: 2.375 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2349, allocations: 320 / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.235, allocations: 0 / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.235, allocations: 6.484 kB / 331.5 MB, free: 12.89 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.0001002/0.2351, allocations: 190.3 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.2352, allocations: 107.5 kB / 331.8 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.2352, allocations: 113.8 kB / 331.9 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.766e-05/0.2353, allocations: 181.5 kB / 332.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.43e-05/0.2354, allocations: 181.5 kB / 332.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/0.2354, allocations: 185.5 kB / 332.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.2356, allocations: 408.7 kB / 332.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.2357, allocations: 106.3 kB / 333 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.2357, allocations: 101 kB / 333.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/0.2358, allocations: 184.8 kB / 333.2 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.2359, allocations: 177.7 kB / 333.4 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.556e-05/0.236, allocations: 185.7 kB / 333.6 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.415e-05/0.236, allocations: 185.7 kB / 333.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.2362, allocations: 304.2 kB / 334.1 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.2363, allocations: 191.4 kB / 334.3 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.2364, allocations: 189.7 kB / 334.5 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2365, allocations: 106.4 kB / 334.6 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.2366, allocations: 180.2 kB / 334.7 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.2366, allocations: 106.4 kB / 334.8 MB, free: 9.383 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.2367, allocations: 95.86 kB / 334.9 MB, free: 9.297 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2367, allocations: 0 / 334.9 MB, free: 9.297 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.237, allocations: 41.62 kB / 335 MB, free: 9.289 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.0005212/0.2375, allocations: 269.6 kB / 335.2 MB, free: 9.074 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.2376, allocations: 10.69 kB / 335.2 MB, free: 9.066 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2376, allocations: 1.25 kB / 335.2 MB, free: 9.066 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.2377, allocations: 0 / 335.2 MB, free: 9.066 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.238, allocations: 0.5175 MB / 335.8 MB, free: 8.547 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.2382, allocations: 177.7 kB / 335.9 MB, free: 8.355 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2385, allocations: 0.6786 MB / 336.6 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.2385, allocations: 4.125 kB / 336.6 MB, free: 7.656 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.2385, allocations: 8.969 kB / 336.6 MB, free: 7.648 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2385, allocations: 1.188 kB / 336.6 MB, free: 7.648 MB / 270.1 MB Notification: Performance of Templates: time 0.003624/0.2422, allocations: 1.066 MB / 337.7 MB, free: 7.082 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: