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.0009898/0.0009939, allocations: 86.48 kB / 15.06 MB, free: 1.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.001121/0.001121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0005092/0.0005093, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2351, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001946/0.2371, allocations: 1.903 MB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2382, allocations: 0.7097 MB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.2383, allocations: 5.031 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.2383, allocations: 6.188 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2384, allocations: 6.156 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.2389, allocations: 168.3 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.239, allocations: 13.98 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.239, allocations: 1.25 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.2391, allocations: 13.45 kB / 329.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.2392, allocations: 16.92 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.2392, allocations: 5.156 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.2394, allocations: 124.9 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.2394, allocations: 5.438 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.2394, allocations: 27.27 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2396, allocations: 79.7 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2396, allocations: 3.938 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2396, allocations: 0 / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2396, allocations: 0 / 329.6 MB, free: 15.02 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.0003467/0.24, allocations: 350.3 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.24, allocations: 12.84 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.2401, allocations: 1.406 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2402, allocations: 162.4 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2402, allocations: 3.953 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2403, allocations: 1.531 kB / 330.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.2404, allocations: 32.94 kB / 330.1 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2404, allocations: 1.469 kB / 330.1 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2404, allocations: 4 kB / 330.1 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2404, allocations: 0 / 330.1 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.2404, allocations: 2.906 kB / 330.1 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.2408, allocations: 408.3 kB / 330.5 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.2409, allocations: 177 kB / 330.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.2409, allocations: 81.61 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.241, allocations: 75.28 kB / 330.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.241, allocations: 111.3 kB / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.241, allocations: 0 / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=0): time 6.366e-05/0.2411, allocations: 35.05 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.2412, allocations: 153.8 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2413, allocations: 126.7 kB / 331.3 MB, free: 13.18 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2413, allocations: 25.7 kB / 331.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.2414, allocations: 85.61 kB / 331.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2414, allocations: 5.375 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.2414, allocations: 0 / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2415, allocations: 320.2 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.2415, allocations: 1.375 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.2415, allocations: 8.109 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.2416, allocations: 1.031 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2416, allocations: 1.219 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001097/0.2417, allocations: 44.83 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2417, allocations: 9.531 kB / 331.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2417, allocations: 320 / 331.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2417, allocations: 1.125 kB / 331.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.2418, allocations: 6.109 kB / 331.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2418, allocations: 0 / 331.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.2419, allocations: 1.281 kB / 331.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2419, allocations: 5.422 kB / 331.8 MB, free: 12.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.242, allocations: 186.5 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.2421, allocations: 107.6 kB / 332 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.2421, allocations: 121.3 kB / 332.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/0.2422, allocations: 177.5 kB / 332.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.406e-05/0.2423, allocations: 181.3 kB / 332.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.2423, allocations: 177.5 kB / 332.7 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.2425, allocations: 413.5 kB / 333.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/0.2426, allocations: 108.9 kB / 333.2 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.2426, allocations: 106.2 kB / 333.3 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.226e-05/0.2427, allocations: 181.3 kB / 333.5 MB, free: 10.85 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.2428, allocations: 185.3 kB / 333.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.162e-05/0.2428, allocations: 181.5 kB / 333.8 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.011e-05/0.2429, allocations: 185.7 kB / 334 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.243, allocations: 307.6 kB / 334.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.2431, allocations: 191.4 kB / 334.5 MB, free: 9.758 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.2433, allocations: 181.8 kB / 334.7 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.2434, allocations: 106.4 kB / 334.8 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2434, allocations: 185.5 kB / 335 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.2435, allocations: 106.2 kB / 335.1 MB, free: 9.168 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.2435, allocations: 95.7 kB / 335.2 MB, free: 9.082 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2435, allocations: 0 / 335.2 MB, free: 9.082 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.2438, allocations: 42.16 kB / 335.2 MB, free: 9.074 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/0.2443, allocations: 256.8 kB / 335.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.2444, allocations: 2.562 kB / 335.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2444, allocations: 1.094 kB / 335.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.2444, allocations: 0 / 335.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2448, allocations: 0.529 MB / 336 MB, free: 8.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.2451, allocations: 166.7 kB / 336.2 MB, free: 8.16 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2454, allocations: 0.6773 MB / 336.8 MB, free: 7.461 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.2454, allocations: 8.094 kB / 336.8 MB, free: 7.457 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.2454, allocations: 8.406 kB / 336.8 MB, free: 7.449 MB / 270.1 MB Notification: Performance of SimCode: time 1.864e-06/0.2455, allocations: 1.062 kB / 336.8 MB, free: 7.449 MB / 270.1 MB Notification: Performance of Templates: time 0.003595/0.2491, allocations: 1.071 MB / 337.9 MB, free: 6.875 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)