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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.06/1.06, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002234/0.002234, allocations: 155.4 kB / 144 MB, free: 4.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.765e-05, allocations: 0 / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07166/0.0717, allocations: 25.19 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06101/0.1328, allocations: 33.85 MB / 232.9 MB, free: 11.8 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.1331, allocations: 55.98 kB / 232.9 MB, free: 11.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.149, allocations: 5.006 MB / 237.9 MB, free: 6.727 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.149, allocations: 0 / 237.9 MB, free: 6.727 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1491, allocations: 0 / 237.9 MB, free: 6.727 MB / 186.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.0004384/0.1495, allocations: 354.4 kB / 238.3 MB, free: 6.336 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.1496, allocations: 12.03 kB / 238.3 MB, free: 6.324 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.1496, allocations: 7.891 kB / 238.3 MB, free: 6.316 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1499, allocations: 167.1 kB / 238.5 MB, free: 6.113 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1499, allocations: 0 / 238.5 MB, free: 6.113 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1499, allocations: 0 / 238.5 MB, free: 6.113 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.261e-05/0.15, allocations: 4 kB / 238.5 MB, free: 6.109 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.1501, allocations: 33.69 kB / 238.5 MB, free: 6.07 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1501, allocations: 0 / 238.5 MB, free: 6.07 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.1501, allocations: 3.953 kB / 238.5 MB, free: 6.066 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1501, allocations: 0 / 238.5 MB, free: 6.066 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1506, allocations: 380.5 kB / 238.9 MB, free: 5.652 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1508, allocations: 177 kB / 239.1 MB, free: 5.469 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.1508, allocations: 80.14 kB / 239.1 MB, free: 5.387 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1508, allocations: 75.28 kB / 239.2 MB, free: 5.312 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/0.1509, allocations: 117.8 kB / 239.3 MB, free: 5.188 MB / 186.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.1509, allocations: 0 / 239.3 MB, free: 5.188 MB / 186.7 MB Notification: Performance of matching and sorting (n=0): time 9.477e-05/0.151, allocations: 29.66 kB / 239.4 MB, free: 5.152 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.1511, allocations: 77.11 kB / 239.4 MB, free: 5.059 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1513, allocations: 112.9 kB / 239.5 MB, free: 4.941 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1513, allocations: 29.64 kB / 239.6 MB, free: 4.906 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.1514, allocations: 88.14 kB / 239.7 MB, free: 4.816 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.1514, allocations: 4 kB / 239.7 MB, free: 4.812 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.1514, allocations: 0 / 239.7 MB, free: 4.812 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1516, allocations: 314.8 kB / 240 MB, free: 4.496 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.1516, allocations: 4 kB / 240 MB, free: 4.492 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.1516, allocations: 7.984 kB / 240 MB, free: 4.484 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1517, allocations: 4 kB / 240 MB, free: 4.48 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1517, allocations: 0 / 240 MB, free: 4.48 MB / 186.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001625/0.1519, allocations: 49.59 kB / 240 MB, free: 4.426 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1519, allocations: 4.125 kB / 240 MB, free: 4.422 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.1519, allocations: 8 kB / 240 MB, free: 4.414 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.152, allocations: 0 / 240 MB, free: 4.414 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.152, allocations: 3.984 kB / 240 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.152, allocations: 7.891 kB / 240.1 MB, free: 4.402 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.1521, allocations: 0 / 240.1 MB, free: 4.402 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1521, allocations: 4 kB / 240.1 MB, free: 4.398 MB / 186.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.0001233/0.1522, allocations: 176.3 kB / 240.2 MB, free: 4.219 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.1523, allocations: 113 kB / 240.3 MB, free: 4.102 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.1524, allocations: 109 kB / 240.4 MB, free: 3.988 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/0.1525, allocations: 180.2 kB / 240.6 MB, free: 3.805 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.722e-05/0.1525, allocations: 184.2 kB / 240.8 MB, free: 3.617 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/0.1526, allocations: 180.2 kB / 241 MB, free: 3.434 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1529, allocations: 385.8 kB / 241.4 MB, free: 3.012 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.1529, allocations: 108.9 kB / 241.5 MB, free: 2.898 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.153, allocations: 105 kB / 241.6 MB, free: 2.789 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.132e-05/0.153, allocations: 180.3 kB / 241.7 MB, free: 2.605 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/0.1531, allocations: 188.2 kB / 241.9 MB, free: 2.414 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.58e-05/0.1532, allocations: 176.3 kB / 242.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.899e-05/0.1533, allocations: 176.3 kB / 242.3 MB, free: 2.055 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1535, allocations: 311.7 kB / 242.6 MB, free: 1.727 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1537, allocations: 190 kB / 242.8 MB, free: 1.516 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.1538, allocations: 180.2 kB / 242.9 MB, free: 1.332 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1539, allocations: 109 kB / 243 MB, free: 1.219 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.154, allocations: 180.3 kB / 243.2 MB, free: 1.035 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.1541, allocations: 108.9 kB / 243.3 MB, free: 0.9219 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.1542, allocations: 87.28 kB / 243.4 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1542, allocations: 0 / 243.4 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000426/0.1546, allocations: 55.92 kB / 243.5 MB, free: 0.7812 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.0007156/0.1554, allocations: 260.5 kB / 243.7 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.1555, allocations: 4.312 kB / 243.7 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1555, allocations: 0 / 243.7 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.1555, allocations: 3.938 kB / 243.7 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1354/0.2909, allocations: 0.5308 MB / 244.3 MB, free: 45.41 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.2911, allocations: 128.8 kB / 244.4 MB, free: 45.27 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2913, allocations: 0.6802 MB / 245.1 MB, free: 44.57 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.2913, allocations: 9.047 kB / 245.1 MB, free: 44.57 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.2913, allocations: 10.98 kB / 245.1 MB, free: 44.56 MB / 186.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2914, allocations: 0 / 245.1 MB, free: 44.56 MB / 186.7 MB Notification: Performance of Templates: time 0.003773/0.2951, allocations: 0.9981 MB / 246.1 MB, free: 44.52 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)