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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.441/1.441, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001689/0.001689, allocations: 59.91 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2354, allocations: 46.62 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003174/0.2386, allocations: 2.272 MB / 327.6 MB, free: 40 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2399, allocations: 0.7677 MB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.2399, allocations: 1.281 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.572e-05/0.24, allocations: 7.5 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2401, allocations: 1.844 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.2407, allocations: 215.8 kB / 328.6 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.2408, allocations: 22.11 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.2409, allocations: 1.25 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.2409, allocations: 8.906 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.241, allocations: 18.44 kB / 328.6 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.241, allocations: 1.312 kB / 328.6 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.2413, allocations: 137 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.2413, allocations: 14.55 kB / 328.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2413, allocations: 5.375 kB / 328.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.2416, allocations: 133.5 kB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2416, allocations: 0 / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2416, allocations: 0 / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2416, allocations: 1.25 kB / 328.9 MB, free: 15.11 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.000384/0.242, allocations: 356.2 kB / 329.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.242, allocations: 10.69 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.2421, allocations: 2.312 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2422, allocations: 173.7 kB / 329.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.2422, allocations: 5.844 kB / 329.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2423, allocations: 384 / 329.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.2424, allocations: 39 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.2424, allocations: 0 / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2424, allocations: 0 / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2424, allocations: 1.062 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.2424, allocations: 7.156 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.2428, allocations: 407.2 kB / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.2428, allocations: 166.2 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2429, allocations: 80.14 kB / 330.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.2429, allocations: 80.41 kB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2429, allocations: 113.8 kB / 330.3 MB, free: 13.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.243, allocations: 5.062 kB / 330.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 8.513e-05/0.243, allocations: 27.05 kB / 330.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.2431, allocations: 153.7 kB / 330.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2432, allocations: 119 kB / 330.6 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2433, allocations: 27.11 kB / 330.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.2433, allocations: 89.27 kB / 330.7 MB, free: 13.15 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2433, allocations: 16 / 330.7 MB, free: 13.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2434, allocations: 13.69 kB / 330.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2435, allocations: 319.9 kB / 331 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.2435, allocations: 2.188 kB / 331 MB, free: 12.81 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.2435, allocations: 11.22 kB / 331.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.2436, allocations: 16.36 kB / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2436, allocations: 0 / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.2437, allocations: 41.34 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2437, allocations: 5.906 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2437, allocations: 4.125 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2437, allocations: 0 / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.2438, allocations: 2.562 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2438, allocations: 0 / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.2438, allocations: 1.281 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2439, allocations: 1.469 kB / 331.1 MB, free: 12.75 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 9.741e-05/0.244, allocations: 191.8 kB / 331.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.244, allocations: 113.9 kB / 331.4 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.2441, allocations: 117.8 kB / 331.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.2441, allocations: 185.6 kB / 331.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.867e-05/0.2442, allocations: 181.5 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-05/0.2443, allocations: 177.6 kB / 332.1 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2445, allocations: 417 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.2446, allocations: 105 kB / 332.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.2446, allocations: 106.3 kB / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.527e-05/0.2447, allocations: 177.4 kB / 332.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.2447, allocations: 181.3 kB / 333 MB, free: 10.72 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-05/0.2448, allocations: 185.3 kB / 333.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.671e-05/0.2449, allocations: 181.3 kB / 333.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.245, allocations: 308 kB / 333.7 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.2451, allocations: 187.3 kB / 333.9 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.2452, allocations: 182.3 kB / 334.1 MB, free: 9.641 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.2453, allocations: 102.1 kB / 334.2 MB, free: 9.535 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.2454, allocations: 185.2 kB / 334.3 MB, free: 9.348 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.2454, allocations: 105 kB / 334.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.999e-05/0.2455, allocations: 96.66 kB / 334.5 MB, free: 9.152 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 1.344 kB / 334.5 MB, free: 9.152 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.2458, allocations: 40.67 kB / 334.6 MB, free: 9.145 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.0005524/0.2463, allocations: 265 kB / 334.8 MB, free: 8.934 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2464, allocations: 11.44 kB / 334.8 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2465, allocations: 1.281 kB / 334.8 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.2465, allocations: 0 / 334.8 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2469, allocations: 465.8 kB / 335.3 MB, free: 8.469 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.2471, allocations: 174 kB / 335.5 MB, free: 8.285 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2473, allocations: 0.6751 MB / 336.1 MB, free: 7.586 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.2474, allocations: 4.688 kB / 336.2 MB, free: 7.586 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2474, allocations: 16.73 kB / 336.2 MB, free: 7.57 MB / 270.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2474, allocations: 0.9375 kB / 336.2 MB, free: 7.57 MB / 270.1 MB Notification: Performance of Templates: time 0.004112/0.2515, allocations: 1.096 MB / 337.3 MB, free: 6.996 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)