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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005704/0.005704, allocations: 98.44 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.00122/0.00122, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001316/0.001316, allocations: 49.77 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08289/0.08421, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00331/0.08756, allocations: 2.253 MB / 375.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.08877, allocations: 0.7767 MB / 376.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.08882, allocations: 4 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.979e-05/0.08892, allocations: 11.92 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.08903, allocations: 3.938 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.08966, allocations: 207.4 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.867e-05/0.08975, allocations: 19.92 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.08979, allocations: 8 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.08984, allocations: 11.98 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.08991, allocations: 11.92 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.08992, allocations: 3.938 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.09022, allocations: 195.7 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.09024, allocations: 0 / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.09027, allocations: 11.94 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.09052, allocations: 123.7 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.09053, allocations: 0 / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09054, allocations: 0 / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.09055, allocations: 0 / 376.8 MB, free: 13.68 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.0003586/0.09092, allocations: 359.5 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.09096, allocations: 12.03 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.09101, allocations: 0.9375 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.09115, allocations: 180.2 kB / 377.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.09117, allocations: 4.375 kB / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.09118, allocations: 384 / 377.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.09128, allocations: 34.02 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.09129, allocations: 3.938 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.09131, allocations: 4 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.09132, allocations: 4 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.09135, allocations: 7.938 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.0917, allocations: 400 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.09179, allocations: 165.1 kB / 377.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.09183, allocations: 84.14 kB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.09186, allocations: 79.28 kB / 378.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.09191, allocations: 113.8 kB / 378.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.09192, allocations: 0 / 378.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.41e-05/0.092, allocations: 29.69 kB / 378.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.09207, allocations: 156.4 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.09218, allocations: 117.8 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.0922, allocations: 25.7 kB / 378.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.09225, allocations: 88.05 kB / 378.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.09226, allocations: 4 kB / 378.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.09231, allocations: 17.7 kB / 378.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.0924, allocations: 310.8 kB / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.09242, allocations: 0 / 378.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.09244, allocations: 8 kB / 379 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.09251, allocations: 24.81 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09252, allocations: 0 / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001116/0.09264, allocations: 37.7 kB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.09266, allocations: 4 kB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.09267, allocations: 0 / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.09269, allocations: 4 kB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.09274, allocations: 0 / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.09276, allocations: 7.922 kB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.0928, allocations: 0 / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.09283, allocations: 4 kB / 379 MB, free: 11.21 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 9.1e-05/0.09292, allocations: 189.1 kB / 379.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.093, allocations: 108.9 kB / 379.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.09305, allocations: 104.5 kB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/0.09311, allocations: 192.2 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/0.09317, allocations: 180.3 kB / 379.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-05/0.09323, allocations: 180.3 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.09345, allocations: 417 kB / 380.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.0935, allocations: 101 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.09354, allocations: 108.9 kB / 380.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-05/0.0936, allocations: 184.3 kB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.09366, allocations: 180.3 kB / 380.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.045e-05/0.09371, allocations: 184.2 kB / 381.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.313e-05/0.09377, allocations: 176.3 kB / 381.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.09391, allocations: 315.6 kB / 381.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.09399, allocations: 182.1 kB / 381.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.09407, allocations: 184.2 kB / 381.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.09417, allocations: 109 kB / 382.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.09423, allocations: 184.2 kB / 382.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.09427, allocations: 101 kB / 382.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.733e-05/0.09433, allocations: 95.27 kB / 382.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09434, allocations: 0 / 382.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.09464, allocations: 40 kB / 382.5 MB, free: 7.539 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.0004571/0.0951, allocations: 270.7 kB / 382.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.09519, allocations: 15.94 kB / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0952, allocations: 0 / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.09521, allocations: 0 / 382.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.09555, allocations: 459.6 kB / 383.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.09575, allocations: 160.2 kB / 383.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.09598, allocations: 0.6807 MB / 384 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.09602, allocations: 7.984 kB / 384 MB, free: 5.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.09604, allocations: 11.44 kB / 384.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09604, allocations: 0 / 384.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Templates: time 0.00355/0.0996, allocations: 1.097 MB / 385.1 MB, free: 4.789 MB / 318.1 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)