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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005616/0.005616, allocations: 180.3 kB / 7.449 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.384/1.384, allocations: 170.6 MB / 178.4 MB, free: 15.78 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.001661/0.001661, allocations: 124.5 kB / 217.7 MB, free: 8.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.824e-06, allocations: 4 kB / 261.7 MB, free: 26.7 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07619/0.07621, allocations: 38.76 MB / 300.5 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.3259, allocations: 66.07 MB / 366.6 MB, free: 2.414 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3261, allocations: 67.28 kB / 366.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01406/0.3402, allocations: 4.865 MB / 371.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3403, allocations: 0 / 371.5 MB, free: 14.35 MB / 266.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.0003125/0.3406, allocations: 362.9 kB / 371.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3406, allocations: 12.03 kB / 371.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3407, allocations: 0 / 371.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3408, allocations: 163 kB / 372 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3409, allocations: 8 kB / 372 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.3409, allocations: 0 / 372 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.322e-05/0.3409, allocations: 3.562 kB / 372 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.346e-05/0.341, allocations: 33.69 kB / 372.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.341, allocations: 4 kB / 372.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3411, allocations: 3.938 kB / 372.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3411, allocations: 0 / 372.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3415, allocations: 371.2 kB / 372.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.3416, allocations: 177.1 kB / 372.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3417, allocations: 80.14 kB / 372.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3417, allocations: 75.28 kB / 372.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.3418, allocations: 109.4 kB / 372.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.3418, allocations: 0 / 372.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.3419, allocations: 41.55 kB / 372.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.342, allocations: 77.11 kB / 373 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3421, allocations: 112 kB / 373.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3421, allocations: 25.7 kB / 373.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.3422, allocations: 84.08 kB / 373.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.3422, allocations: 0 / 373.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3422, allocations: 0 / 373.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3424, allocations: 318.1 kB / 373.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.3424, allocations: 11.94 kB / 373.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.3424, allocations: 7.984 kB / 373.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3425, allocations: 4 kB / 373.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3425, allocations: 0 / 373.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001723/0.3427, allocations: 53.05 kB / 373.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3427, allocations: 7.906 kB / 373.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3428, allocations: 3.938 kB / 373.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3428, allocations: 0 / 373.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.3428, allocations: 4 kB / 373.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3428, allocations: 4.125 kB / 373.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.3429, allocations: 3.906 kB / 373.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3429, allocations: 3.938 kB / 373.6 MB, free: 12.05 MB / 266.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 () * 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.0001219/0.343, allocations: 180.3 kB / 373.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.3431, allocations: 105.4 kB / 373.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.3432, allocations: 108.5 kB / 374 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/0.3433, allocations: 187.6 kB / 374.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.283e-05/0.3434, allocations: 184.3 kB / 374.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/0.3435, allocations: 176.3 kB / 374.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3438, allocations: 389.1 kB / 374.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.3439, allocations: 105 kB / 375 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.3439, allocations: 105 kB / 375.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.344, allocations: 184.2 kB / 375.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/0.3441, allocations: 176.3 kB / 375.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-05/0.3442, allocations: 180.3 kB / 375.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.541e-05/0.3443, allocations: 184.2 kB / 375.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001682/0.3445, allocations: 311.2 kB / 376.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.3446, allocations: 185.9 kB / 376.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3447, allocations: 184.7 kB / 376.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3448, allocations: 105 kB / 376.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.3449, allocations: 180.2 kB / 376.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.345, allocations: 101 kB / 376.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.206e-05/0.345, allocations: 94.58 kB / 377 MB, free: 8.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003996/0.3454, allocations: 59.36 kB / 377 MB, free: 8.449 MB / 266.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 () * 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.0005829/0.346, allocations: 269.4 kB / 377.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.614e-05/0.3461, allocations: 11.44 kB / 377.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3461, allocations: 0 / 377.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3461, allocations: 0 / 377.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3465, allocations: 0.5195 MB / 377.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.3467, allocations: 134.4 kB / 378 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.347, allocations: 0.6957 MB / 378.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of SimCode: time 2.81e-07/0.347, allocations: 0 / 378.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Templates: time 0.003581/0.3506, allocations: 1.034 MB / 379.7 MB, free: 5.746 MB / 266.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)