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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.000997/0.0009971, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.297/1.297, allocations: 170.7 MB / 178.7 MB, free: 7.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001623/0.001624, allocations: 102.8 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.18e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2577, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09164/0.3494, allocations: 66.16 MB / 367.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3497, allocations: 71.95 kB / 367.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0156/0.3654, allocations: 5.185 MB / 372.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3654, allocations: 0 / 372.4 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3654, allocations: 0.5 kB / 372.4 MB, free: 8.285 MB / 282.7 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.0003859/0.3658, allocations: 357.6 kB / 372.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.3659, allocations: 8.031 kB / 372.7 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.366, allocations: 4 kB / 372.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3661, allocations: 159.1 kB / 372.9 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3662, allocations: 6.125 kB / 372.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3662, allocations: 7.953 kB / 372.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.815e-05/0.3662, allocations: 5.922 kB / 372.9 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.06e-05/0.3663, allocations: 34.23 kB / 373 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3663, allocations: 0 / 373 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3663, allocations: 5.469 kB / 373 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3663, allocations: 3.984 kB / 373 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3667, allocations: 372.5 kB / 373.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.3668, allocations: 181 kB / 373.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.3669, allocations: 80.14 kB / 373.6 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3669, allocations: 75.28 kB / 373.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.367, allocations: 109.8 kB / 373.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.367, allocations: 3.938 kB / 373.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.369e-05/0.3671, allocations: 34.83 kB / 373.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3671, allocations: 77.11 kB / 373.9 MB, free: 6.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3673, allocations: 109 kB / 374 MB, free: 6.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3673, allocations: 25.7 kB / 374 MB, free: 6.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.3673, allocations: 88.08 kB / 374.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.3674, allocations: 0 / 374.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.3674, allocations: 0 / 374.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3675, allocations: 322.8 kB / 374.4 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.3675, allocations: 3.938 kB / 374.4 MB, free: 6.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.3675, allocations: 4 kB / 374.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.686e-05/0.3676, allocations: 15.98 kB / 374.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3676, allocations: 0 / 374.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001441/0.3678, allocations: 45.64 kB / 374.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3678, allocations: 5.875 kB / 374.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3678, allocations: 0 / 374.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3678, allocations: 4.125 kB / 374.5 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.3679, allocations: 4 kB / 374.5 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3679, allocations: 0 / 374.5 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.368, allocations: 3.906 kB / 374.5 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.368, allocations: 7.984 kB / 374.5 MB, free: 5.973 MB / 282.7 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 () * 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.0001038/0.3681, allocations: 176.3 kB / 374.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.3682, allocations: 109.3 kB / 374.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.3682, allocations: 113 kB / 374.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-05/0.3683, allocations: 184.3 kB / 375.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.594e-05/0.3684, allocations: 184.2 kB / 375.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-05/0.3685, allocations: 177.5 kB / 375.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3687, allocations: 385.8 kB / 375.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.3687, allocations: 108.9 kB / 375.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.3688, allocations: 105 kB / 376 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.3689, allocations: 176.3 kB / 376.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.3689, allocations: 184.2 kB / 376.4 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-05/0.369, allocations: 184.2 kB / 376.5 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.87e-05/0.3691, allocations: 176.3 kB / 376.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.3692, allocations: 309.5 kB / 377 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.3693, allocations: 187.3 kB / 377.2 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.3694, allocations: 188.1 kB / 377.4 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.3695, allocations: 101 kB / 377.5 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.3696, allocations: 180.2 kB / 377.7 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3696, allocations: 116.9 kB / 377.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.787e-05/0.3697, allocations: 91.28 kB / 377.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3697, allocations: 4 kB / 377.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000332/0.37, allocations: 51.92 kB / 377.9 MB, free: 2.355 MB / 282.7 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 () * 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.0005329/0.3706, allocations: 275.7 kB / 378.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.668e-05/0.3707, allocations: 4 kB / 378.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3707, allocations: 0 / 378.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3707, allocations: 0 / 378.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.371, allocations: 0.5295 MB / 378.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.3712, allocations: 132.3 kB / 378.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3714, allocations: 0.6807 MB / 379.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3715, allocations: 7.984 kB / 379.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.3715, allocations: 11.44 kB / 379.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3715, allocations: 0 / 379.6 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of Templates: time 0.003511/0.375, allocations: 1.008 MB / 380.6 MB, free: 15.7 MB / 298.7 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)