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.005343/0.005343, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001148/0.001148, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001242/0.001242, allocations: 55.25 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.09017, allocations: 46.62 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003062/0.09327, allocations: 2.257 MB / 375.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.09445, allocations: 0.7807 MB / 376.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.09449, allocations: 7.938 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.204e-05/0.09457, allocations: 3.938 kB / 376.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.09469, allocations: 7.984 kB / 376.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.09528, allocations: 211.4 kB / 376.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.09536, allocations: 15.94 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.09541, allocations: 7.984 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.09546, allocations: 4 kB / 376.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.09555, allocations: 19.91 kB / 376.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.09556, allocations: 0 / 376.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.09586, allocations: 187.8 kB / 376.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.09589, allocations: 3.984 kB / 376.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.09592, allocations: 11.92 kB / 376.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.09616, allocations: 131.7 kB / 376.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.09617, allocations: 4 kB / 376.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09618, allocations: 0 / 376.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.09619, allocations: 0 / 376.8 MB, free: 13.76 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.0004005/0.0966, allocations: 355.5 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.09665, allocations: 8.031 kB / 377.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.09669, allocations: 4.938 kB / 377.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.09684, allocations: 172.2 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.09688, allocations: 384 / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.0969, allocations: 8.312 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.097, allocations: 46 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.09702, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.09703, allocations: 4 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.09705, allocations: 0 / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.09707, allocations: 7.938 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.09744, allocations: 396 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.09753, allocations: 173.1 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.09759, allocations: 80.14 kB / 378 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.09762, allocations: 75.28 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.09767, allocations: 105.8 kB / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.09768, allocations: 0 / 378.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 9.343e-05/0.09777, allocations: 33.64 kB / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.09786, allocations: 156.4 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.09798, allocations: 113.8 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.09801, allocations: 25.7 kB / 378.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.09807, allocations: 96.03 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.09808, allocations: 0 / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.09813, allocations: 13.72 kB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.09825, allocations: 318.8 kB / 378.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.09827, allocations: 8 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.09829, allocations: 4 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/0.09833, allocations: 16.73 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09834, allocations: 0 / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001079/0.09845, allocations: 37.69 kB / 379 MB, free: 11.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.09847, allocations: 8 kB / 379 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09848, allocations: 0 / 379 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.0985, allocations: 0 / 379 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.09857, allocations: 4 kB / 379 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.09858, allocations: 4.125 kB / 379 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.09862, allocations: 0 / 379 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.09864, allocations: 320 / 379 MB, free: 11.3 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.0001099/0.09876, allocations: 189.1 kB / 379.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.09884, allocations: 116.9 kB / 379.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.09889, allocations: 108.5 kB / 379.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.09896, allocations: 180.3 kB / 379.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-05/0.09904, allocations: 184.1 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/0.09909, allocations: 176.3 kB / 380 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.09934, allocations: 417.1 kB / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/0.0994, allocations: 105 kB / 380.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.09945, allocations: 108.9 kB / 380.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.53e-05/0.09954, allocations: 188.2 kB / 380.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.09961, allocations: 176.3 kB / 380.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-05/0.09967, allocations: 188.2 kB / 381.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.768e-05/0.09974, allocations: 176.3 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.09988, allocations: 315.6 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.09994, allocations: 182.1 kB / 381.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.1, allocations: 188.2 kB / 382 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.1001, allocations: 101 kB / 382.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.1002, allocations: 184.2 kB / 382.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.1002, allocations: 105 kB / 382.3 MB, free: 7.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.493e-05/0.1003, allocations: 103.2 kB / 382.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1003, allocations: 0 / 382.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1006, allocations: 39.98 kB / 382.5 MB, free: 7.617 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.0004434/0.101, allocations: 262.2 kB / 382.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.27e-05/0.1011, allocations: 4 kB / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1011, allocations: 0 / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.1011, allocations: 3.938 kB / 382.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1015, allocations: 467.6 kB / 383.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.1017, allocations: 168.3 kB / 383.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1019, allocations: 0.6806 MB / 384 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1019, allocations: 4 kB / 384 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.102, allocations: 7.438 kB / 384.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.102, allocations: 0 / 384.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Templates: time 0.003561/0.1055, allocations: 1.101 MB / 385.2 MB, free: 4.871 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)