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.001004/0.001004, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006825/0.006825, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004796/0.00048, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002255/0.2173, allocations: 1.97 MB / 329 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2186, allocations: 0.7841 MB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.2187, allocations: 1.25 kB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.452e-05/0.2187, allocations: 2.719 kB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2189, allocations: 2.688 kB / 329.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.2194, allocations: 177.3 kB / 330 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.2195, allocations: 24.48 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.2196, allocations: 2.531 kB / 330 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.2196, allocations: 13.17 kB / 330 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.2197, allocations: 20.61 kB / 330 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2198, allocations: 5.344 kB / 330 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.22, allocations: 137.5 kB / 330.2 MB, free: 15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2201, allocations: 5.438 kB / 330.2 MB, free: 15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2201, allocations: 40.06 kB / 330.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2204, allocations: 125 kB / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2204, allocations: 0 / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2204, allocations: 0 / 330.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2204, allocations: 1.5 kB / 330.3 MB, free: 14.88 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.0003666/0.2208, allocations: 349 kB / 330.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2208, allocations: 9.594 kB / 330.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.2208, allocations: 6.156 kB / 330.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.221, allocations: 170.7 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.221, allocations: 1.562 kB / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.221, allocations: 384 / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.2211, allocations: 39.17 kB / 330.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2211, allocations: 3.938 kB / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2211, allocations: 0 / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2212, allocations: 1.219 kB / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.2212, allocations: 2.375 kB / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.2216, allocations: 403.5 kB / 331.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.2217, allocations: 166.9 kB / 331.5 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.2217, allocations: 80.14 kB / 331.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.2218, allocations: 79.22 kB / 331.6 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.2218, allocations: 114.9 kB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.2218, allocations: 0 / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 7.476e-05/0.2219, allocations: 32.5 kB / 331.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.222, allocations: 152.4 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2221, allocations: 119.8 kB / 332 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2221, allocations: 25.7 kB / 332 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.2222, allocations: 85.95 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.2222, allocations: 5.062 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.2223, allocations: 13.72 kB / 332.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2224, allocations: 316.1 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.2224, allocations: 1.156 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2224, allocations: 8.688 kB / 332.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.2225, allocations: 19.05 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2225, allocations: 0 / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001194/0.2226, allocations: 38.72 kB / 332.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2226, allocations: 8.219 kB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2226, allocations: 1.031 kB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2226, allocations: 0 / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.2227, allocations: 6.5 kB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2227, allocations: 320 / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.2228, allocations: 1.438 kB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2228, allocations: 1.031 kB / 332.5 MB, free: 12.53 MB / 270.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.000114/0.2229, allocations: 195.1 kB / 332.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.223, allocations: 111 kB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.2231, allocations: 109.5 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-05/0.2231, allocations: 181.2 kB / 333.1 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.509e-05/0.2232, allocations: 177.2 kB / 333.3 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-05/0.2233, allocations: 193.1 kB / 333.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.2235, allocations: 413.5 kB / 333.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/0.2236, allocations: 106 kB / 334 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.2236, allocations: 106.2 kB / 334.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/0.2237, allocations: 177.4 kB / 334.3 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.2237, allocations: 180.2 kB / 334.4 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.863e-05/0.2238, allocations: 189.2 kB / 334.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.944e-05/0.2239, allocations: 181.4 kB / 334.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.224, allocations: 312.2 kB / 335.1 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.2241, allocations: 188.5 kB / 335.3 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.2242, allocations: 181.5 kB / 335.5 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.2243, allocations: 102 kB / 335.6 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2243, allocations: 185.1 kB / 335.8 MB, free: 9.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.2244, allocations: 106.1 kB / 335.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.2245, allocations: 88.44 kB / 335.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2245, allocations: 0 / 335.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000317/0.2248, allocations: 45.08 kB / 336 MB, free: 8.926 MB / 270.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.0005351/0.2253, allocations: 257.3 kB / 336.2 MB, free: 8.723 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.2254, allocations: 7.688 kB / 336.2 MB, free: 8.719 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2254, allocations: 0 / 336.2 MB, free: 8.719 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.2254, allocations: 1.469 kB / 336.2 MB, free: 8.719 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.2258, allocations: 0.5322 MB / 336.8 MB, free: 8.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.226, allocations: 166.6 kB / 336.9 MB, free: 8.004 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2263, allocations: 0.6775 MB / 337.6 MB, free: 7.305 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.2263, allocations: 12.59 kB / 337.6 MB, free: 7.297 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.2263, allocations: 12.45 kB / 337.6 MB, free: 7.285 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2263, allocations: 0 / 337.6 MB, free: 7.285 MB / 270.1 MB Notification: Performance of Templates: time 0.00365/0.23, allocations: 1.073 MB / 338.7 MB, free: 6.719 MB / 270.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)