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.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.411/1.411, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.001221/0.001221, allocations: 56.3 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 46.63 MB / 325.3 MB, free: 1.988 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002919/0.2235, allocations: 2.265 MB / 327.6 MB, free: 160 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2246, allocations: 0.7707 MB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.2247, allocations: 1.188 kB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.932e-05/0.2248, allocations: 10.8 kB / 328.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2249, allocations: 2.844 kB / 328.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.2255, allocations: 212.3 kB / 328.6 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.2256, allocations: 21.05 kB / 328.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.2257, allocations: 2.188 kB / 328.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.2257, allocations: 8.469 kB / 328.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.2258, allocations: 17.69 kB / 328.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2258, allocations: 1.156 kB / 328.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.226, allocations: 141.8 kB / 328.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.2261, allocations: 9.094 kB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2261, allocations: 6.25 kB / 328.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.2263, allocations: 134.2 kB / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2263, allocations: 0 / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2263, allocations: 0 / 328.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.2263, allocations: 0 / 328.9 MB, free: 15.22 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.0003585/0.2267, allocations: 358.1 kB / 329.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2267, allocations: 9.688 kB / 329.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.2268, allocations: 2.406 kB / 329.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2269, allocations: 173.8 kB / 329.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.2269, allocations: 1.812 kB / 329.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.2269, allocations: 4.375 kB / 329.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.227, allocations: 34.42 kB / 329.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2271, allocations: 3.938 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2271, allocations: 1.156 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2271, allocations: 3.938 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.2271, allocations: 3.625 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.2274, allocations: 402.6 kB / 329.9 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.2275, allocations: 170.3 kB / 330 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.2276, allocations: 81.33 kB / 330.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2276, allocations: 79.28 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2276, allocations: 111 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2276, allocations: 0 / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 7.868e-05/0.2277, allocations: 36.16 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.2278, allocations: 152.4 kB / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2279, allocations: 115.8 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2279, allocations: 25.7 kB / 330.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.228, allocations: 90.8 kB / 330.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.228, allocations: 16 / 330.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.228, allocations: 17.77 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2282, allocations: 319.8 kB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2282, allocations: 2.531 kB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.2282, allocations: 10.53 kB / 331.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.2282, allocations: 16.62 kB / 331.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2282, allocations: 0 / 331.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.859e-05/0.2283, allocations: 37.39 kB / 331.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2284, allocations: 4.938 kB / 331.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2284, allocations: 1.469 kB / 331.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2284, allocations: 128 / 331.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/0.2284, allocations: 5.5 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2285, allocations: 5.422 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.2285, allocations: 0 / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2285, allocations: 1.406 kB / 331.1 MB, free: 12.86 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 9.663e-05/0.2286, allocations: 188.1 kB / 331.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2287, allocations: 114.3 kB / 331.4 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.2287, allocations: 113.8 kB / 331.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/0.2288, allocations: 189.7 kB / 331.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.259e-05/0.2289, allocations: 177.3 kB / 331.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.913e-05/0.2289, allocations: 176.3 kB / 332.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.2292, allocations: 414.5 kB / 332.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.2292, allocations: 105 kB / 332.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.2293, allocations: 118 kB / 332.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/0.2293, allocations: 177.8 kB / 332.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.2294, allocations: 176.3 kB / 333 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/0.2295, allocations: 185.6 kB / 333.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-05/0.2295, allocations: 185.6 kB / 333.4 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2297, allocations: 312.6 kB / 333.7 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.2297, allocations: 187.5 kB / 333.9 MB, free: 9.934 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.2298, allocations: 176.3 kB / 334.1 MB, free: 9.754 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.2299, allocations: 106.3 kB / 334.2 MB, free: 9.645 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.23, allocations: 181.7 kB / 334.3 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.23, allocations: 106.2 kB / 334.4 MB, free: 9.352 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.2301, allocations: 97.05 kB / 334.5 MB, free: 9.266 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2301, allocations: 0 / 334.5 MB, free: 9.266 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.2304, allocations: 37.09 kB / 334.6 MB, free: 9.262 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.0005022/0.2309, allocations: 277.3 kB / 334.8 MB, free: 9.039 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.659e-05/0.231, allocations: 7.375 kB / 334.9 MB, free: 9.035 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.231, allocations: 0.9688 kB / 334.9 MB, free: 9.035 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.231, allocations: 0 / 334.9 MB, free: 9.035 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.2314, allocations: 461.9 kB / 335.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.2316, allocations: 172.9 kB / 335.5 MB, free: 8.398 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2319, allocations: 0.6772 MB / 336.1 MB, free: 7.699 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.232, allocations: 7.422 kB / 336.2 MB, free: 7.695 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.232, allocations: 9.781 kB / 336.2 MB, free: 7.688 MB / 270.1 MB Notification: Performance of SimCode: time 1.603e-06/0.232, allocations: 4 kB / 336.2 MB, free: 7.684 MB / 270.1 MB Notification: Performance of Templates: time 0.003641/0.2356, allocations: 1.095 MB / 337.3 MB, free: 7.109 MB / 270.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)