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.00145/0.00145, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.001662/0.001662, allocations: 199 kB / 18 MB, free: 5.168 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.327/1.327, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.002007/0.002007, allocations: 51.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1217, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.005338/0.1271, allocations: 2.264 MB / 376.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1292, allocations: 0.7767 MB / 377.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.1293, allocations: 0 / 377.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1295, allocations: 8 kB / 377.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1296, allocations: 11.94 kB / 377.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1308, allocations: 203.5 kB / 377.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1309, allocations: 23.91 kB / 377.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.131, allocations: 4 kB / 377.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.1311, allocations: 15.92 kB / 377.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.1312, allocations: 11.94 kB / 377.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1312, allocations: 4 kB / 377.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.1317, allocations: 187.7 kB / 378 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1318, allocations: 4 kB / 378 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.1318, allocations: 7.938 kB / 378 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1322, allocations: 127.7 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1322, allocations: 3.938 kB / 378.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1322, allocations: 0 / 378.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1323, allocations: 0 / 378.1 MB, free: 0.9141 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.0004814/0.1328, allocations: 359.4 kB / 378.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1328, allocations: 12.03 kB / 378.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1329, allocations: 0.9375 kB / 378.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1331, allocations: 176.2 kB / 378.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1331, allocations: 4.375 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1331, allocations: 384 / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1333, allocations: 34.02 kB / 378.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1333, allocations: 0 / 378.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1333, allocations: 0 / 378.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1333, allocations: 4 kB / 378.7 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.1334, allocations: 7.984 kB / 378.7 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/0.3155, allocations: 396.7 kB / 379.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.3156, allocations: 168.8 kB / 379.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.3157, allocations: 80.14 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3157, allocations: 77.45 kB / 379.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3157, allocations: 107.9 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.3157, allocations: 2.281 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001174/0.3159, allocations: 30.55 kB / 379.5 MB, free: 12.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3159, allocations: 154.4 kB / 379.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3161, allocations: 122.6 kB / 379.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3161, allocations: 25.7 kB / 379.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.3161, allocations: 89.56 kB / 379.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.3161, allocations: 1.062 kB / 379.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.3162, allocations: 18.64 kB / 379.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.3163, allocations: 315.1 kB / 380.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.3163, allocations: 1.922 kB / 380.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.3163, allocations: 10.3 kB / 380.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.3164, allocations: 8.656 kB / 380.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3164, allocations: 1.406 kB / 380.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000137/0.3165, allocations: 43.12 kB / 380.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3166, allocations: 9 kB / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3166, allocations: 1.344 kB / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3166, allocations: 0 / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.3167, allocations: 4.031 kB / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3167, allocations: 4.172 kB / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.3167, allocations: 5.047 kB / 380.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3168, allocations: 5.188 kB / 380.3 MB, free: 11.92 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 7.026e-05/0.3168, allocations: 184.2 kB / 380.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.3169, allocations: 107.6 kB / 380.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.3169, allocations: 114.4 kB / 380.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.317, allocations: 180.3 kB / 380.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-05/0.317, allocations: 183.8 kB / 381.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.317, allocations: 184.3 kB / 381.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3172, allocations: 405.9 kB / 381.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.3172, allocations: 113.5 kB / 381.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.3173, allocations: 104.8 kB / 381.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.071e-05/0.3173, allocations: 185.1 kB / 382.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.3173, allocations: 182.3 kB / 382.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-05/0.3174, allocations: 177.5 kB / 382.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.743e-05/0.3174, allocations: 185 kB / 382.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.3175, allocations: 310.2 kB / 382.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3175, allocations: 180.8 kB / 383.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.3176, allocations: 187.3 kB / 383.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.3177, allocations: 106.7 kB / 383.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.3177, allocations: 180.8 kB / 383.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3177, allocations: 108 kB / 383.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.857e-05/0.3178, allocations: 92.22 kB / 383.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3178, allocations: 0 / 383.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000353/0.3182, allocations: 44.14 kB / 383.8 MB, free: 8.434 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.0006503/0.3188, allocations: 278 kB / 384 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.3189, allocations: 8.953 kB / 384.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3189, allocations: 1.219 kB / 384.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3189, allocations: 0 / 384.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3192, allocations: 467.6 kB / 384.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.3195, allocations: 164.2 kB / 384.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3196, allocations: 0.6754 MB / 385.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.3197, allocations: 6.344 kB / 385.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.3197, allocations: 12.75 kB / 385.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3197, allocations: 1.125 kB / 385.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Templates: time 0.004212/0.3239, allocations: 1.101 MB / 386.5 MB, free: 6.82 MB / 318.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)