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.005832/0.005832, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00125/0.00125, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.00129/0.00129, allocations: 49.98 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08643, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003191/0.08966, allocations: 2.253 MB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.09083, allocations: 0.7845 MB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.0909, allocations: 0 / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.519e-05/0.09098, allocations: 4 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.09108, allocations: 11.88 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.09169, allocations: 215.4 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.09176, allocations: 19.92 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.09181, allocations: 4 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.09185, allocations: 7.984 kB / 376.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.09192, allocations: 19.92 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.09193, allocations: 0 / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.09225, allocations: 187.7 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.09227, allocations: 0 / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.0923, allocations: 11.94 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.09255, allocations: 135.7 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09256, allocations: 3.938 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09257, allocations: 0 / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09258, allocations: 4 kB / 376.8 MB, free: 13.64 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.0003415/0.09292, allocations: 351.5 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.09297, allocations: 8.031 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.09301, allocations: 0.9375 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.09315, allocations: 176.2 kB / 377.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.09316, allocations: 384 / 377.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.09318, allocations: 384 / 377.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/0.09328, allocations: 42.02 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.09329, allocations: 7.938 kB / 377.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.0933, allocations: 0 / 377.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.09331, allocations: 0 / 377.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.09334, allocations: 7.984 kB / 377.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.09369, allocations: 396 kB / 377.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/0.09379, allocations: 173.1 kB / 377.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.09383, allocations: 80.14 kB / 378 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.09386, allocations: 79.27 kB / 378.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.09391, allocations: 105.8 kB / 378.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.09392, allocations: 0 / 378.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.364e-05/0.09401, allocations: 33.64 kB / 378.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.09408, allocations: 160.4 kB / 378.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.0942, allocations: 109.8 kB / 378.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.09422, allocations: 29.7 kB / 378.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.09427, allocations: 88.05 kB / 378.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.09428, allocations: 0 / 378.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.09432, allocations: 17.7 kB / 378.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.09454, allocations: 314.8 kB / 378.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.09456, allocations: 8 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.09459, allocations: 7.984 kB / 379 MB, free: 11.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.09462, allocations: 12.8 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09462, allocations: 0 / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001121/0.09474, allocations: 37.64 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.09476, allocations: 8 kB / 379 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.09477, allocations: 4 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.09479, allocations: 0 / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.09484, allocations: 3.984 kB / 379 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.09486, allocations: 8.125 kB / 379 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.0949, allocations: 3.984 kB / 379 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.09492, allocations: 0 / 379 MB, free: 11.18 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 0.0001022/0.09503, allocations: 193.1 kB / 379.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.0951, allocations: 108.9 kB / 379.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.09516, allocations: 112.5 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.255e-05/0.09524, allocations: 180.3 kB / 379.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/0.09531, allocations: 180.2 kB / 379.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.322e-05/0.09541, allocations: 180.3 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.09583, allocations: 413 kB / 380.4 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/0.09588, allocations: 109 kB / 380.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.09593, allocations: 105 kB / 380.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.09611, allocations: 188.2 kB / 380.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.09621, allocations: 176.3 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-05/0.09627, allocations: 180.2 kB / 381.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001578/0.09644, allocations: 180.3 kB / 381.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.09659, allocations: 319.6 kB / 381.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.09667, allocations: 178.1 kB / 381.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.09676, allocations: 188.2 kB / 382 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.09689, allocations: 101 kB / 382.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.09697, allocations: 180.3 kB / 382.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.09702, allocations: 104.9 kB / 382.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.09708, allocations: 99.27 kB / 382.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09709, allocations: 0 / 382.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.09748, allocations: 40 kB / 382.5 MB, free: 7.508 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.000484/0.09797, allocations: 266.8 kB / 382.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.09806, allocations: 7.938 kB / 382.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.09808, allocations: 0 / 382.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.09809, allocations: 3.938 kB / 382.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.09847, allocations: 467.6 kB / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.09878, allocations: 172.3 kB / 383.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.09912, allocations: 0.6729 MB / 384 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.09917, allocations: 7.984 kB / 384 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.09919, allocations: 7.438 kB / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.0992, allocations: 0 / 384.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of Templates: time 0.003975/0.1032, allocations: 1.101 MB / 385.2 MB, free: 4.754 MB / 318.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)