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.005239/0.005239, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001136/0.001136, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001172/0.001172, allocations: 54.27 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08597, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00298/0.08898, allocations: 2.257 MB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.09008, allocations: 0.7845 MB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.09012, allocations: 4 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.461e-05/0.09021, allocations: 7.938 kB / 376.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.09031, allocations: 7.938 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.09089, allocations: 207.4 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.09096, allocations: 8 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.091, allocations: 11.98 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.09104, allocations: 15.92 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.09111, allocations: 11.92 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.09113, allocations: 4 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.0914, allocations: 183.8 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.09143, allocations: 11.97 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.09146, allocations: 7.938 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.09167, allocations: 123.8 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09168, allocations: 0 / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09169, allocations: 0 / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.0917, allocations: 0 / 376.8 MB, free: 13.68 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.0003153/0.09202, allocations: 359.5 kB / 377.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.09206, allocations: 11.97 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.0921, allocations: 12.88 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.09222, allocations: 176.2 kB / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.09224, allocations: 384 / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.09225, allocations: 384 / 377.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.09234, allocations: 41.94 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.09235, allocations: 0 / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.09236, allocations: 4 kB / 377.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.09237, allocations: 4 kB / 377.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.0924, allocations: 4 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.09273, allocations: 396 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.665e-05/0.09281, allocations: 169.1 kB / 377.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.09285, allocations: 92.14 kB / 378 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.09288, allocations: 75.28 kB / 378.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.09292, allocations: 105.8 kB / 378.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.09293, allocations: 0 / 378.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.782e-05/0.093, allocations: 29.64 kB / 378.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.09307, allocations: 156.4 kB / 378.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.09317, allocations: 117.8 kB / 378.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.09319, allocations: 29.7 kB / 378.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.09325, allocations: 92.05 kB / 378.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.09326, allocations: 0 / 378.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.0933, allocations: 13.72 kB / 378.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.0934, allocations: 314.8 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.09341, allocations: 4 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.09344, allocations: 4 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.09347, allocations: 16.89 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.09347, allocations: 0 / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.09358, allocations: 45.62 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.0936, allocations: 8 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.09361, allocations: 0 / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.09363, allocations: 0 / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.09367, allocations: 0 / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.09368, allocations: 0 / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.09372, allocations: 4 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.09374, allocations: 0 / 379 MB, free: 11.2 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 8.703e-05/0.09384, allocations: 193.1 kB / 379.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.09391, allocations: 109 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.09396, allocations: 112.5 kB / 379.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-05/0.09402, allocations: 180.3 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.644e-05/0.09408, allocations: 180.2 kB / 379.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.09414, allocations: 188.2 kB / 380 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.09435, allocations: 413.1 kB / 380.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.09439, allocations: 104.9 kB / 380.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.09443, allocations: 105 kB / 380.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.115e-05/0.09448, allocations: 184.2 kB / 380.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.09455, allocations: 180.3 kB / 380.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.499e-05/0.09461, allocations: 184.2 kB / 381.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.05e-05/0.09469, allocations: 184.2 kB / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.09481, allocations: 315.6 kB / 381.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.09488, allocations: 182.1 kB / 381.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.09495, allocations: 180.3 kB / 382 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.09504, allocations: 108.9 kB / 382.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.09511, allocations: 176.3 kB / 382.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.09514, allocations: 104.9 kB / 382.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.0952, allocations: 99.27 kB / 382.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09521, allocations: 0 / 382.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.09549, allocations: 39.98 kB / 382.5 MB, free: 7.527 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.0004302/0.09593, allocations: 266.7 kB / 382.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.09601, allocations: 8 kB / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09602, allocations: 0 / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.09602, allocations: 0 / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.09636, allocations: 471.5 kB / 383.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.09655, allocations: 160.2 kB / 383.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.09679, allocations: 0.6846 MB / 384 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.09683, allocations: 4 kB / 384 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.09685, allocations: 11.44 kB / 384.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09685, allocations: 0 / 384.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Templates: time 0.003363/0.1002, allocations: 1.101 MB / 385.2 MB, free: 4.773 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)