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.005163/0.005163, allocations: 109.8 kB / 15.74 MB, free: 6.449 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.001252/0.001252, allocations: 196 kB / 16.67 MB, free: 6.355 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001155/0.001155, allocations: 49.72 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08086, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002972/0.08386, allocations: 2.257 MB / 375.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.08497, allocations: 0.7806 MB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.08501, allocations: 3.938 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.176e-05/0.0851, allocations: 7.938 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.08521, allocations: 4 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.08578, allocations: 215.4 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.08586, allocations: 19.92 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.0859, allocations: 7.938 kB / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.08595, allocations: 7.984 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.08602, allocations: 19.92 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.08603, allocations: 0 / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.08631, allocations: 183.8 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.08633, allocations: 7.969 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.08636, allocations: 15.88 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.08659, allocations: 119.8 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.0866, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08661, allocations: 4 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.08662, allocations: 4 kB / 376.8 MB, free: 13.65 MB / 318.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.0003302/0.08695, allocations: 355.5 kB / 377.1 MB, free: 13.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.08699, allocations: 8.031 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.08703, allocations: 0.9375 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.08716, allocations: 176.2 kB / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.08718, allocations: 384 / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.0872, allocations: 4.312 kB / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/0.08729, allocations: 46 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.08731, allocations: 4 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.08732, allocations: 0 / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.08733, allocations: 0 / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.08736, allocations: 7.938 kB / 377.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.08768, allocations: 396 kB / 377.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.08777, allocations: 173.1 kB / 377.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.0878, allocations: 80.14 kB / 378 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.08783, allocations: 75.28 kB / 378.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.08788, allocations: 109.8 kB / 378.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.08788, allocations: 0 / 378.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.08795, allocations: 29.7 kB / 378.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.08802, allocations: 160.4 kB / 378.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.08813, allocations: 113.8 kB / 378.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.08816, allocations: 29.7 kB / 378.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.08821, allocations: 88.05 kB / 378.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.08822, allocations: 0 / 378.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.08826, allocations: 13.72 kB / 378.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.08835, allocations: 318.8 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.08837, allocations: 4 kB / 378.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.0884, allocations: 8 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.08843, allocations: 16.73 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.08844, allocations: 0 / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.08854, allocations: 37.69 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.08856, allocations: 8 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.08857, allocations: 3.938 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.08859, allocations: 0 / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.153e-05/0.08863, allocations: 0 / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.08864, allocations: 4 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.08869, allocations: 4.125 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.08871, allocations: 0 / 379 MB, free: 11.19 MB / 318.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.772e-05/0.08881, allocations: 197 kB / 379.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.08887, allocations: 104.9 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.08892, allocations: 108.5 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.388e-05/0.08898, allocations: 180.2 kB / 379.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-05/0.08904, allocations: 184.2 kB / 379.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.0891, allocations: 184.2 kB / 380 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.08931, allocations: 409.1 kB / 380.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/0.08934, allocations: 105 kB / 380.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.08938, allocations: 108.9 kB / 380.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.843e-05/0.08944, allocations: 180.3 kB / 380.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.0895, allocations: 184.2 kB / 380.9 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-05/0.08956, allocations: 184.2 kB / 381.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.105e-05/0.08962, allocations: 180.3 kB / 381.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.08975, allocations: 315.6 kB / 381.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.08983, allocations: 186.1 kB / 381.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.08991, allocations: 184.2 kB / 382 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.09, allocations: 101 kB / 382.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.09009, allocations: 184.2 kB / 382.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.09012, allocations: 101 kB / 382.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.09019, allocations: 95.58 kB / 382.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0902, allocations: 4 kB / 382.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.09048, allocations: 43.98 kB / 382.5 MB, free: 7.516 MB / 318.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.0004797/0.09097, allocations: 270.3 kB / 382.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.09104, allocations: 7.938 kB / 382.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.09105, allocations: 0 / 382.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.09106, allocations: 0 / 382.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.09139, allocations: 467.6 kB / 383.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.09159, allocations: 168.3 kB / 383.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.09183, allocations: 0.6768 MB / 384 MB, free: 5.879 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.09187, allocations: 4 kB / 384 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.0919, allocations: 11.42 kB / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of SimCode: time 1.823e-06/0.0919, allocations: 0 / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of Templates: time 0.003254/0.09516, allocations: 1.097 MB / 385.2 MB, free: 4.766 MB / 318.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)