Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009392/0.0009393, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009824/0.0009825, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.0004418/0.0004418, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002024/0.2624, allocations: 1.896 MB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2636, allocations: 0.7178 MB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.2636, allocations: 0 / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.591e-05/0.2637, allocations: 6.312 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.2638, allocations: 10.3 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.2644, allocations: 164.1 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.2645, allocations: 14.8 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.2645, allocations: 5.359 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.2646, allocations: 9.312 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.2647, allocations: 9.719 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2647, allocations: 3.938 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.265, allocations: 125.3 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.265, allocations: 13.38 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.265, allocations: 26.89 kB / 329.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2652, allocations: 78.84 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2652, allocations: 1.438 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2652, allocations: 0 / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2652, allocations: 0 / 329.6 MB, free: 15.06 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.0003341/0.2656, allocations: 345.5 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2656, allocations: 9.312 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.2656, allocations: 1.25 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2658, allocations: 174 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2658, allocations: 3.953 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.2658, allocations: 5.344 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.133e-05/0.2659, allocations: 29.86 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.2659, allocations: 0 / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.266, allocations: 0.75 kB / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.266, allocations: 0 / 330.1 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.266, allocations: 11.38 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2664, allocations: 403 kB / 330.5 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.2665, allocations: 182.3 kB / 330.7 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.2665, allocations: 81.33 kB / 330.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2666, allocations: 75.28 kB / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.2666, allocations: 111 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.2666, allocations: 0 / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 7.02e-05/0.2667, allocations: 39.58 kB / 331 MB, free: 13.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.2668, allocations: 153.5 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2669, allocations: 118.5 kB / 331.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2669, allocations: 27.14 kB / 331.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.267, allocations: 85.52 kB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.267, allocations: 0 / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.267, allocations: 0 / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2671, allocations: 320.2 kB / 331.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.2672, allocations: 10.56 kB / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.2672, allocations: 2.469 kB / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.815e-05/0.2672, allocations: 2.375 kB / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2672, allocations: 0 / 331.7 MB, free: 12.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001115/0.2673, allocations: 45.97 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2674, allocations: 4.875 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2674, allocations: 1.469 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2674, allocations: 3.938 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.2674, allocations: 1.438 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2674, allocations: 5.5 kB / 331.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.2675, allocations: 0 / 331.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2675, allocations: 1.438 kB / 331.8 MB, free: 12.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2676, allocations: 188 kB / 331.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.2677, allocations: 106.4 kB / 332 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.2677, allocations: 117.7 kB / 332.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.2678, allocations: 181.6 kB / 332.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.2679, allocations: 181.5 kB / 332.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-05/0.2679, allocations: 185.6 kB / 332.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.2682, allocations: 408.9 kB / 333.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.2682, allocations: 106.2 kB / 333.2 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.2683, allocations: 101 kB / 333.3 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.2684, allocations: 181.6 kB / 333.5 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.2685, allocations: 193.6 kB / 333.7 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.378e-05/0.2685, allocations: 180.2 kB / 333.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-05/0.2686, allocations: 181.7 kB / 334 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2687, allocations: 303.9 kB / 334.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.2688, allocations: 195.7 kB / 334.5 MB, free: 9.805 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.2689, allocations: 181.5 kB / 334.7 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.269, allocations: 107 kB / 334.8 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.2691, allocations: 177.4 kB / 335 MB, free: 9.332 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2691, allocations: 105 kB / 335.1 MB, free: 9.223 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.729e-05/0.2692, allocations: 97.34 kB / 335.2 MB, free: 9.137 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2692, allocations: 3.938 kB / 335.2 MB, free: 9.133 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.2695, allocations: 45.08 kB / 335.2 MB, free: 9.121 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005184/0.2701, allocations: 257 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.2701, allocations: 3.156 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2702, allocations: 0 / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.2702, allocations: 1.25 kB / 335.5 MB, free: 8.918 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2706, allocations: 0.5285 MB / 336 MB, free: 8.387 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.2708, allocations: 170.3 kB / 336.2 MB, free: 8.203 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2711, allocations: 0.6776 MB / 336.8 MB, free: 7.504 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2711, allocations: 8.328 kB / 336.8 MB, free: 7.5 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2711, allocations: 8.5 kB / 336.8 MB, free: 7.492 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2712, allocations: 3.938 kB / 336.9 MB, free: 7.488 MB / 270.1 MB Notification: Performance of Templates: time 0.003817/0.275, allocations: 1.053 MB / 337.9 MB, free: 6.934 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1)