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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.006851/0.006851, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.319/1.319, allocations: 170.8 MB / 186.6 MB, free: 1.023 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001885/0.001885, allocations: 115.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 38.76 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08712/0.3355, allocations: 66.91 MB / 379.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3358, allocations: 67.95 kB / 379.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.3508, allocations: 5.235 MB / 385.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3509, allocations: 0 / 385.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3509, allocations: 0 / 385.1 MB, free: 2.312 MB / 282.7 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.0003678/0.3512, allocations: 367.1 kB / 385.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3513, allocations: 8.031 kB / 385.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.3513, allocations: 7.906 kB / 385.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3515, allocations: 171 kB / 385.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3515, allocations: 4 kB / 385.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3515, allocations: 4 kB / 385.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.3516, allocations: 33.66 kB / 385.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3516, allocations: 0 / 385.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3517, allocations: 0 / 385.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3517, allocations: 4 kB / 385.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.3517, allocations: 7.938 kB / 385.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.3521, allocations: 392.1 kB / 386.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.3522, allocations: 173.1 kB / 386.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3522, allocations: 75.28 kB / 386.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.3523, allocations: 113.8 kB / 386.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3523, allocations: 0 / 386.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.461e-05/0.3524, allocations: 41.22 kB / 386.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.3524, allocations: 156.3 kB / 386.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.3525, allocations: 109 kB / 386.7 MB, free: 496 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3526, allocations: 25.7 kB / 386.8 MB, free: 464 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3526, allocations: 88.05 kB / 386.8 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3526, allocations: 4 kB / 386.8 MB, free: 368 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.3526, allocations: 0 / 386.8 MB, free: 368 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3527, allocations: 314.8 kB / 387.1 MB, free: 44 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.3528, allocations: 0 / 387.1 MB, free: 44 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.3528, allocations: 7.984 kB / 387.2 MB, free: 36 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/0.3528, allocations: 4 kB / 387.2 MB, free: 32 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3528, allocations: 0 / 387.2 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.3529, allocations: 45.72 kB / 387.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3529, allocations: 14.12 kB / 387.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.353, allocations: 3.984 kB / 387.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.353, allocations: 0 / 387.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.404e-05/0.353, allocations: 4 kB / 387.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.353, allocations: 0 / 387.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.3531, allocations: 0 / 387.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3531, allocations: 4 kB / 387.2 MB, free: 15.96 MB / 298.7 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 9.688e-05/0.3532, allocations: 181.1 kB / 387.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.3533, allocations: 117.3 kB / 387.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.3533, allocations: 116.4 kB / 387.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/0.3534, allocations: 180.3 kB / 387.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.324e-05/0.3535, allocations: 184.2 kB / 388 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-05/0.3535, allocations: 176.3 kB / 388.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3538, allocations: 413.2 kB / 388.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/0.3538, allocations: 108.9 kB / 388.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.3539, allocations: 101 kB / 388.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.407e-05/0.3539, allocations: 188.2 kB / 389 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.354, allocations: 184.2 kB / 389.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.978e-05/0.3541, allocations: 176.3 kB / 389.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-05/0.3541, allocations: 188.2 kB / 389.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.3543, allocations: 303.8 kB / 389.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.3544, allocations: 182.1 kB / 390 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/0.3545, allocations: 180.2 kB / 390.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3546, allocations: 108.9 kB / 390.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.3547, allocations: 184.3 kB / 390.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.3547, allocations: 112.9 kB / 390.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.3548, allocations: 91.58 kB / 390.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3548, allocations: 0 / 390.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000325/0.3551, allocations: 55.92 kB / 390.7 MB, free: 12.28 MB / 298.7 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.0005173/0.3557, allocations: 283.1 kB / 391 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.3557, allocations: 4 kB / 391 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3557, allocations: 0 / 391 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.3557, allocations: 3.938 kB / 391 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3561, allocations: 0.5302 MB / 391.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.3563, allocations: 166 kB / 391.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3565, allocations: 0.677 MB / 392.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.726e-05/0.3566, allocations: 11.98 kB / 392.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.3566, allocations: 11.44 kB / 392.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3566, allocations: 0 / 392.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of Templates: time 0.003429/0.36, allocations: 1.045 MB / 393.4 MB, free: 9.512 MB / 298.7 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)