Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001108/0.001108, allocations: 99.92 kB / 16.5 MB, free: 6.645 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.001171/0.001171, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.357/1.357, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.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.001128/0.001128, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08645, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003232/0.08973, allocations: 2.318 MB / 328.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.09094, allocations: 0.8044 MB / 329.1 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.09099, allocations: 0 / 329.1 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.381e-05/0.09107, allocations: 7.938 kB / 329.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.09119, allocations: 4 kB / 329.1 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.09169, allocations: 167.7 kB / 329.2 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.09175, allocations: 23.92 kB / 329.3 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.09179, allocations: 0 / 329.3 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.09183, allocations: 11.94 kB / 329.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.0919, allocations: 23.91 kB / 329.3 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.09192, allocations: 0 / 329.3 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.09215, allocations: 143.8 kB / 329.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.09217, allocations: 3.984 kB / 329.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.09219, allocations: 3.938 kB / 329.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.09241, allocations: 131.7 kB / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09242, allocations: 0 / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09243, allocations: 0 / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.09244, allocations: 0 / 329.6 MB, free: 1.223 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.0003432/0.09279, allocations: 355.8 kB / 329.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.09283, allocations: 12.03 kB / 329.9 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.09286, allocations: 0.9375 kB / 329.9 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.093, allocations: 176.2 kB / 330.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.09302, allocations: 384 / 330.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.09303, allocations: 4.359 kB / 330.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.636e-05/0.09312, allocations: 38 kB / 330.2 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.09314, allocations: 0 / 330.2 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.09315, allocations: 3.938 kB / 330.2 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.09316, allocations: 4 kB / 330.2 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.09319, allocations: 8 kB / 330.2 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.09353, allocations: 396 kB / 330.6 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.09364, allocations: 169.1 kB / 330.7 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.09368, allocations: 80.14 kB / 330.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.09371, allocations: 83.22 kB / 330.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.09375, allocations: 109.8 kB / 331 MB, free: 15.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.09376, allocations: 0 / 331 MB, free: 15.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.896e-05/0.09383, allocations: 25.7 kB / 331 MB, free: 15.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.09391, allocations: 156.4 kB / 331.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.09401, allocations: 121.8 kB / 331.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.09403, allocations: 25.7 kB / 331.3 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.09409, allocations: 88.14 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.0941, allocations: 0 / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.09413, allocations: 17.7 kB / 331.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.09423, allocations: 326.8 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.09425, allocations: 0 / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.09427, allocations: 7.938 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.09431, allocations: 20.73 kB / 331.8 MB, free: 14.81 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.09431, allocations: 4.094 kB / 331.8 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.84e-05/0.09442, allocations: 41.69 kB / 331.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.09444, allocations: 4 kB / 331.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.09444, allocations: 0 / 331.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.09446, allocations: 0 / 331.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.09451, allocations: 4 kB / 331.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.09452, allocations: 0 / 331.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.09457, allocations: 0 / 331.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.0946, allocations: 7.984 kB / 331.8 MB, free: 14.75 MB / 286.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.614e-05/0.09469, allocations: 189.1 kB / 332 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.09476, allocations: 112.8 kB / 332.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.0948, allocations: 112.3 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.09486, allocations: 180.2 kB / 332.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/0.09492, allocations: 184.2 kB / 332.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.09497, allocations: 176.3 kB / 332.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.09519, allocations: 417.1 kB / 333.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.09522, allocations: 101 kB / 333.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.09526, allocations: 104.9 kB / 333.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.227e-05/0.09532, allocations: 180.2 kB / 333.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.09538, allocations: 184.3 kB / 333.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.211e-05/0.09544, allocations: 184.2 kB / 333.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.764e-05/0.09549, allocations: 176.3 kB / 334.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.09562, allocations: 311.7 kB / 334.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.09569, allocations: 186 kB / 334.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.09576, allocations: 180.3 kB / 334.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.09586, allocations: 105 kB / 334.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.09594, allocations: 188.2 kB / 335 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.09598, allocations: 101.3 kB / 335.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.09604, allocations: 91.28 kB / 335.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09604, allocations: 0 / 335.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.09634, allocations: 47.98 kB / 335.3 MB, free: 11.09 MB / 286.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.0004706/0.09682, allocations: 282.1 kB / 335.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.0969, allocations: 11.92 kB / 335.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09691, allocations: 4.062 kB / 335.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.09692, allocations: 0 / 335.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.09728, allocations: 0.5224 MB / 336.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.09747, allocations: 166 kB / 336.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.09771, allocations: 0.6809 MB / 336.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.973e-05/0.09775, allocations: 7.984 kB / 336.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.596e-05/0.09777, allocations: 11.38 kB / 336.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09778, allocations: 0 / 336.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of Templates: time 0.003309/0.1011, allocations: 1.077 MB / 338 MB, free: 8.281 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)