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.0009801/0.0009802, allocations: 91.77 kB / 16.65 MB, free: 6.594 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.001043/0.001043, allocations: 181.5 kB / 17.56 MB, free: 6.203 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.32/1.32, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000458/0.0004581, allocations: 8 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.0876, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002433/0.09007, allocations: 1.971 MB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.09132, allocations: 0.789 MB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.09137, allocations: 0 / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.122e-05/0.09146, allocations: 11.92 kB / 331.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.09157, allocations: 4 kB / 331.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.09215, allocations: 171.7 kB / 331.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.09223, allocations: 11.98 kB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.09227, allocations: 0 / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.09233, allocations: 23.86 kB / 331.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.0924, allocations: 15.92 kB / 331.3 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.09242, allocations: 0 / 331.3 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.09268, allocations: 143.8 kB / 331.4 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.0927, allocations: 3.984 kB / 331.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.09275, allocations: 41.62 kB / 331.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.09301, allocations: 119.8 kB / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.09302, allocations: 0 / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09303, allocations: 0 / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.09304, allocations: 0 / 331.6 MB, free: 452 kB / 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.0003549/0.0934, allocations: 351.7 kB / 331.9 MB, free: 52 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.09345, allocations: 16.02 kB / 332 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.0935, allocations: 0.9375 kB / 332 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.09365, allocations: 176.2 kB / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.09368, allocations: 384 / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.09371, allocations: 384 / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.09381, allocations: 38 kB / 332.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.09382, allocations: 0 / 332.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.09384, allocations: 0 / 332.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.09385, allocations: 4 kB / 332.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.09388, allocations: 4 kB / 332.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.09426, allocations: 404 kB / 332.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.09435, allocations: 169.1 kB / 332.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.0944, allocations: 84.14 kB / 332.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.09443, allocations: 75.28 kB / 332.9 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.09448, allocations: 109.8 kB / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.09449, allocations: 0 / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.603e-05/0.09457, allocations: 29.64 kB / 333 MB, free: 14.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.09465, allocations: 156.4 kB / 333.2 MB, free: 14.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.09477, allocations: 113.8 kB / 333.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.09479, allocations: 25.7 kB / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.09485, allocations: 96.03 kB / 333.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.09487, allocations: 4 kB / 333.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.0949, allocations: 9.719 kB / 333.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.09502, allocations: 314.8 kB / 333.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.09504, allocations: 7.938 kB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.09506, allocations: 0 / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.09509, allocations: 16.78 kB / 333.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0951, allocations: 0 / 333.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001165/0.09522, allocations: 41.77 kB / 333.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.09524, allocations: 12 kB / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.09525, allocations: 0 / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09527, allocations: 0 / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.09533, allocations: 0 / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.09534, allocations: 0 / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.09539, allocations: 7.984 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.09541, allocations: 0 / 333.8 MB, free: 13.99 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 0.0001025/0.09552, allocations: 185.1 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.09559, allocations: 113 kB / 334.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.09564, allocations: 116.2 kB / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.756e-05/0.0957, allocations: 184.2 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.934e-05/0.09577, allocations: 180.2 kB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-05/0.09582, allocations: 176.3 kB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.09604, allocations: 413.2 kB / 335.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.09609, allocations: 104.9 kB / 335.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.09613, allocations: 112.9 kB / 335.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.403e-05/0.0962, allocations: 180.2 kB / 335.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.09627, allocations: 184.3 kB / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.767e-05/0.09633, allocations: 180.2 kB / 335.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-05/0.09639, allocations: 184.3 kB / 336.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.09652, allocations: 315.6 kB / 336.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.09658, allocations: 178.1 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.09666, allocations: 184.2 kB / 336.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.09676, allocations: 109 kB / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.09682, allocations: 184.2 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.09686, allocations: 108.9 kB / 337.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.09692, allocations: 99.56 kB / 337.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.09693, allocations: 0 / 337.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.09722, allocations: 40 kB / 337.3 MB, free: 10.31 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.0004639/0.09769, allocations: 269.8 kB / 337.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.09778, allocations: 4 kB / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.09779, allocations: 0 / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.0978, allocations: 0 / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.09817, allocations: 0.5341 MB / 338.1 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.0984, allocations: 162 kB / 338.2 MB, free: 9.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.09862, allocations: 0.677 MB / 338.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.09867, allocations: 11.98 kB / 338.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.09869, allocations: 7.438 kB / 338.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.0987, allocations: 0 / 338.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of Templates: time 0.003437/0.1021, allocations: 1.078 MB / 340 MB, free: 7.52 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)