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.001184/0.001184, allocations: 94.42 kB / 16.32 MB, free: 5.555 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.001297/0.001297, allocations: 181.4 kB / 17.21 MB, free: 5.477 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.415/1.415, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004549/0.0004549, allocations: 20 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.08969, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002551/0.0923, allocations: 1.898 MB / 329.6 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.09344, allocations: 0.7153 MB / 330.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.09348, allocations: 0 / 330.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.813e-05/0.09356, allocations: 8 kB / 330.3 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.09369, allocations: 7.938 kB / 330.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.09419, allocations: 175.6 kB / 330.5 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.09426, allocations: 12 kB / 330.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.09431, allocations: 4 kB / 330.5 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.09435, allocations: 11.92 kB / 330.5 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.09444, allocations: 15.92 kB / 330.6 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.09446, allocations: 0 / 330.6 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.09467, allocations: 131.8 kB / 330.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.09469, allocations: 7.984 kB / 330.7 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.09472, allocations: 25.7 kB / 330.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.0949, allocations: 79.86 kB / 330.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.09491, allocations: 0 / 330.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.09492, allocations: 0 / 330.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09493, allocations: 7.938 kB / 330.8 MB, free: 0.957 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.0003784/0.09532, allocations: 347.6 kB / 331.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.09537, allocations: 8.031 kB / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.0954, allocations: 0 / 331.2 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.09558, allocations: 167 kB / 331.3 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.0956, allocations: 3.953 kB / 331.3 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.09562, allocations: 0 / 331.3 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/0.09572, allocations: 33.69 kB / 331.4 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.09573, allocations: 4 kB / 331.4 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.09575, allocations: 7.984 kB / 331.4 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.09576, allocations: 0 / 331.4 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.09579, allocations: 4 kB / 331.4 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.09624, allocations: 404 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.09636, allocations: 173.1 kB / 331.9 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.0964, allocations: 84.14 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.09644, allocations: 75.28 kB / 332.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/0.09651, allocations: 109.8 kB / 332.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.09652, allocations: 0 / 332.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.838e-05/0.09661, allocations: 37.62 kB / 332.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.09671, allocations: 156.3 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.09684, allocations: 121.8 kB / 332.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.09687, allocations: 25.7 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.09694, allocations: 92.08 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.09695, allocations: 0 / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.09695, allocations: 0 / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.09708, allocations: 314.8 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.0971, allocations: 11.98 kB / 332.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.09713, allocations: 0 / 332.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.09716, allocations: 8.094 kB / 332.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09717, allocations: 0 / 332.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001192/0.09729, allocations: 49.53 kB / 333 MB, free: 14.54 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.09731, allocations: 4 kB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.09732, allocations: 0 / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.09734, allocations: 4 kB / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.09739, allocations: 0 / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0974, allocations: 0 / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.09744, allocations: 0 / 333 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.09746, allocations: 4 kB / 333 MB, free: 14.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.09755, allocations: 189.1 kB / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.09762, allocations: 105 kB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.09767, allocations: 116.2 kB / 333.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/0.09774, allocations: 184.3 kB / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.566e-05/0.0978, allocations: 184.2 kB / 333.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.09786, allocations: 180.3 kB / 333.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.09806, allocations: 413.2 kB / 334.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.0981, allocations: 104.9 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.09814, allocations: 101 kB / 334.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.09821, allocations: 184.2 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/0.0983, allocations: 176.3 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-05/0.09838, allocations: 184.3 kB / 335.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.409e-05/0.09846, allocations: 184.2 kB / 335.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.09859, allocations: 303.8 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.09868, allocations: 193.9 kB / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.09875, allocations: 180.3 kB / 335.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.09885, allocations: 108.9 kB / 336 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.09893, allocations: 176.3 kB / 336.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.09897, allocations: 104.9 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.09903, allocations: 95.27 kB / 336.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09904, allocations: 7.938 kB / 336.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00027/0.09932, allocations: 43.98 kB / 336.4 MB, free: 10.86 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 (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.0005345/0.09986, allocations: 260.1 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.09995, allocations: 16.33 kB / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.09996, allocations: 0 / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.09997, allocations: 0 / 336.7 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.1003, allocations: 0.5185 MB / 337.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.1006, allocations: 178.1 kB / 337.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1008, allocations: 0.677 MB / 338.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.1008, allocations: 4 kB / 338.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.1009, allocations: 11.42 kB / 338.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1009, allocations: 0 / 338.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of Templates: time 0.003328/0.1042, allocations: 1.062 MB / 339.2 MB, free: 8.09 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)