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.001499/0.001499, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001621/0.001621, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.329/1.329, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001203/0.001203, allocations: 47.92 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07895, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003173/0.08216, allocations: 2.252 MB / 328.9 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.08329, allocations: 0.7814 MB / 329.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.08333, allocations: 0 / 329.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.237e-05/0.08342, allocations: 7.984 kB / 329.7 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.022e-05/0.08352, allocations: 7.938 kB / 329.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.08407, allocations: 207.5 kB / 329.9 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.08414, allocations: 19.92 kB / 329.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.08418, allocations: 7.984 kB / 329.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.08422, allocations: 7.938 kB / 329.9 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.08429, allocations: 19.92 kB / 329.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.08431, allocations: 4 kB / 329.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.08453, allocations: 135.8 kB / 330.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.08455, allocations: 7.984 kB / 330.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.08458, allocations: 7.938 kB / 330.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.0848, allocations: 127.7 kB / 330.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.08482, allocations: 4 kB / 330.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.08483, allocations: 4 kB / 330.2 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.08484, allocations: 0 / 330.2 MB, free: 0.8398 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.0003237/0.08517, allocations: 351.7 kB / 330.6 MB, free: 460 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.08521, allocations: 12.03 kB / 330.6 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.08524, allocations: 0.9375 kB / 330.6 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.08538, allocations: 180.3 kB / 330.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.08539, allocations: 384 / 330.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.0854, allocations: 384 / 330.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.08549, allocations: 34.02 kB / 330.8 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.0855, allocations: 4 kB / 330.8 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.08551, allocations: 0 / 330.8 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.08552, allocations: 4 kB / 330.8 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.08555, allocations: 8 kB / 330.8 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.08588, allocations: 400 kB / 331.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.08596, allocations: 169.1 kB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.086, allocations: 84.14 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.08604, allocations: 79.28 kB / 331.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.08608, allocations: 105.8 kB / 331.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.08609, allocations: 0 / 331.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.46e-05/0.08617, allocations: 41.61 kB / 331.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.08624, allocations: 152.4 kB / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.08634, allocations: 121.7 kB / 331.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.08637, allocations: 25.7 kB / 331.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.08642, allocations: 92.14 kB / 332 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.08643, allocations: 0 / 332 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.08647, allocations: 25.58 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.08656, allocations: 310.8 kB / 332.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.08658, allocations: 8 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.08661, allocations: 4 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.08663, allocations: 12.78 kB / 332.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.08665, allocations: 0 / 332.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.506e-05/0.08675, allocations: 45.73 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.08677, allocations: 8 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.08678, allocations: 0 / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.08679, allocations: 0 / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.08684, allocations: 0 / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.08685, allocations: 4 kB / 332.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.0869, allocations: 3.984 kB / 332.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.08692, allocations: 0 / 332.4 MB, free: 14.37 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 9.15e-05/0.08701, allocations: 197 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.08708, allocations: 108.8 kB / 332.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.08713, allocations: 116.3 kB / 332.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.08718, allocations: 180.2 kB / 333 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.947e-05/0.08725, allocations: 180.2 kB / 333.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.08731, allocations: 180.3 kB / 333.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.08753, allocations: 417.1 kB / 333.8 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/0.08757, allocations: 101 kB / 333.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.08761, allocations: 109 kB / 334 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.08766, allocations: 180.2 kB / 334.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.08772, allocations: 176.3 kB / 334.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.653e-05/0.08778, allocations: 184.2 kB / 334.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.449e-05/0.08785, allocations: 184.3 kB / 334.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.08797, allocations: 311.7 kB / 335 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.08804, allocations: 178.1 kB / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.08812, allocations: 184.2 kB / 335.4 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.08821, allocations: 105 kB / 335.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.08828, allocations: 184.2 kB / 335.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.08832, allocations: 104.9 kB / 335.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.08838, allocations: 99.27 kB / 335.8 MB, free: 10.74 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08839, allocations: 0 / 335.8 MB, free: 10.74 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.08867, allocations: 36 kB / 335.9 MB, free: 10.71 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.0004805/0.08916, allocations: 281.2 kB / 336.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.08923, allocations: 4 kB / 336.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.08924, allocations: 0 / 336.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.08925, allocations: 8 kB / 336.2 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.08959, allocations: 459.6 kB / 336.6 MB, free: 9.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.08979, allocations: 172.3 kB / 336.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.09002, allocations: 0.6768 MB / 337.5 MB, free: 9.062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.09006, allocations: 15.92 kB / 337.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.09008, allocations: 7.438 kB / 337.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09008, allocations: 0 / 337.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of Templates: time 0.003263/0.09335, allocations: 1.09 MB / 338.6 MB, free: 7.949 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)