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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.7283/0.7283, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001768/0.001768, allocations: 156 kB / 143.7 MB, free: 4.875 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.286e-06, allocations: 0 / 173.5 MB, free: 23.03 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05771/0.05774, allocations: 25.16 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.2397, allocations: 33.78 MB / 232.4 MB, free: 4.457 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.24, allocations: 63.78 kB / 232.5 MB, free: 4.457 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02074/0.2608, allocations: 4.677 MB / 237.1 MB, free: 4.23 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2608, allocations: 0 / 237.1 MB, free: 4.23 MB / 170.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.000292/0.2611, allocations: 349.7 kB / 237.5 MB, free: 3.867 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2612, allocations: 11.62 kB / 237.5 MB, free: 3.867 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.2613, allocations: 0 / 237.5 MB, free: 3.867 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.2614, allocations: 175.9 kB / 237.7 MB, free: 3.66 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.2614, allocations: 0 / 237.7 MB, free: 3.66 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2614, allocations: 0 / 237.7 MB, free: 3.66 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.386e-05/0.2615, allocations: 9.406 kB / 237.7 MB, free: 3.656 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.2615, allocations: 34.53 kB / 237.7 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2616, allocations: 3.938 kB / 237.7 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.2616, allocations: 3.984 kB / 237.7 MB, free: 3.617 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2616, allocations: 0 / 237.7 MB, free: 3.617 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.2619, allocations: 380.9 kB / 238.1 MB, free: 3.227 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.262, allocations: 169.6 kB / 238.2 MB, free: 3.055 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.262, allocations: 80.14 kB / 238.3 MB, free: 2.973 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.262, allocations: 75.28 kB / 238.4 MB, free: 2.898 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2621, allocations: 109.8 kB / 238.5 MB, free: 2.781 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.2621, allocations: 0 / 238.5 MB, free: 2.781 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 9.987e-05/0.2622, allocations: 38.59 kB / 238.5 MB, free: 2.742 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2622, allocations: 77.11 kB / 238.6 MB, free: 2.648 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.2623, allocations: 106.9 kB / 238.7 MB, free: 2.559 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.2623, allocations: 25.7 kB / 238.7 MB, free: 2.527 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.2624, allocations: 85.42 kB / 238.8 MB, free: 2.445 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2624, allocations: 0.75 kB / 238.8 MB, free: 2.445 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2624, allocations: 0 / 238.8 MB, free: 2.445 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.2624, allocations: 323 kB / 239.1 MB, free: 2.125 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.2625, allocations: 3.906 kB / 239.2 MB, free: 2.125 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.2625, allocations: 1.078 kB / 239.2 MB, free: 2.125 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.272e-05/0.2626, allocations: 13.02 kB / 239.2 MB, free: 2.125 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2626, allocations: 0 / 239.2 MB, free: 2.125 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001744/0.2628, allocations: 45.56 kB / 239.2 MB, free: 2.09 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2628, allocations: 11.34 kB / 239.2 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2628, allocations: 0 / 239.2 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2629, allocations: 0 / 239.2 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.2629, allocations: 9.578 kB / 239.2 MB, free: 2.078 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2629, allocations: 4.578 kB / 239.2 MB, free: 2.078 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.263, allocations: 3.906 kB / 239.2 MB, free: 2.074 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.263, allocations: 0.75 kB / 239.2 MB, free: 2.074 MB / 170.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 6.005e-05/0.2631, allocations: 180.1 kB / 239.4 MB, free: 1.895 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.2632, allocations: 102 kB / 239.5 MB, free: 1.789 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.2632, allocations: 109.3 kB / 239.6 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.2632, allocations: 193.1 kB / 239.8 MB, free: 1.488 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/0.2633, allocations: 180.3 kB / 240 MB, free: 1.305 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/0.2633, allocations: 181.7 kB / 240.2 MB, free: 1.121 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.2636, allocations: 388.9 kB / 240.5 MB, free: 16.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-05/0.2636, allocations: 101 kB / 240.6 MB, free: 16.6 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.2637, allocations: 105.8 kB / 240.7 MB, free: 16.49 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-05/0.2638, allocations: 188.8 kB / 240.9 MB, free: 16.3 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/0.2639, allocations: 176.3 kB / 241.1 MB, free: 16.12 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.412e-05/0.2639, allocations: 177.5 kB / 241.3 MB, free: 15.95 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.56e-05/0.264, allocations: 184.1 kB / 241.5 MB, free: 15.76 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001606/0.2642, allocations: 313.8 kB / 241.8 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.2643, allocations: 183.2 kB / 241.9 MB, free: 15.24 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.2644, allocations: 177.6 kB / 242.1 MB, free: 15.06 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2646, allocations: 104.7 kB / 242.2 MB, free: 14.95 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.2647, allocations: 181.2 kB / 242.4 MB, free: 14.77 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.2647, allocations: 105.5 kB / 242.5 MB, free: 14.66 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.229e-05/0.2648, allocations: 96.56 kB / 242.6 MB, free: 14.58 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.2654, allocations: 46.84 kB / 242.6 MB, free: 14.57 MB / 186.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.0005847/0.266, allocations: 271.7 kB / 242.9 MB, free: 14.37 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.266, allocations: 2.844 kB / 242.9 MB, free: 14.37 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2661, allocations: 0 / 242.9 MB, free: 14.37 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.2661, allocations: 2.906 kB / 242.9 MB, free: 14.37 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2665, allocations: 0.5228 MB / 243.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.2667, allocations: 127.4 kB / 243.6 MB, free: 13.71 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.2671, allocations: 0.6947 MB / 244.3 MB, free: 13 MB / 186.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2671, allocations: 0 / 244.3 MB, free: 13 MB / 186.7 MB Notification: Performance of Templates: time 0.004554/0.2717, allocations: 1.026 MB / 245.3 MB, free: 12.86 MB / 186.7 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)