Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 2.187/2.187, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.869e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006591/0.1285, allocations: 220.6 kB / 345.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.1308, allocations: 1.291 MB / 346.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.1309, allocations: 0 / 346.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.1309, allocations: 0 / 346.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.131, allocations: 4 kB / 346.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.1317, allocations: 127.6 kB / 346.6 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.1317, allocations: 8 kB / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.1318, allocations: 0 / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.1318, allocations: 7.984 kB / 346.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.1319, allocations: 11.98 kB / 346.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.1321, allocations: 95.81 kB / 346.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.1322, allocations: 12 kB / 346.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1322, allocations: 4 kB / 346.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.1323, allocations: 0 / 346.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1325, allocations: 79.83 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1325, allocations: 0 / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1325, allocations: 0 / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1325, allocations: 0 / 346.8 MB, free: 7.082 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.0003768/0.1329, allocations: 331.4 kB / 347.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.133, allocations: 16.03 kB / 347.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.133, allocations: 15.86 kB / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1332, allocations: 163.1 kB / 347.3 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1332, allocations: 0 / 347.3 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1332, allocations: 4 kB / 347.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1334, allocations: 37.62 kB / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1334, allocations: 0 / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1334, allocations: 0 / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1334, allocations: 0 / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.1334, allocations: 3.953 kB / 347.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.134, allocations: 473 kB / 347.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1342, allocations: 177.1 kB / 348 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1342, allocations: 75.28 kB / 348.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.1343, allocations: 109.8 kB / 348.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.1343, allocations: 0 / 348.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.926e-05/0.1344, allocations: 29.66 kB / 348.2 MB, free: 5.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.1345, allocations: 156.4 kB / 348.4 MB, free: 5.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1346, allocations: 108.9 kB / 348.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1346, allocations: 25.7 kB / 348.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.1347, allocations: 154.8 kB / 348.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.1348, allocations: 0 / 348.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1348, allocations: 3.938 kB / 348.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1349, allocations: 314.8 kB / 349 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.1349, allocations: 4 kB / 349 MB, free: 4.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.135, allocations: 7.984 kB / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.135, allocations: 0 / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.135, allocations: 0 / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001379/0.1352, allocations: 37.7 kB / 349 MB, free: 4.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1352, allocations: 4 kB / 349 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1352, allocations: 0 / 349 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1352, allocations: 4.125 kB / 349 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.1353, allocations: 4 kB / 349 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1353, allocations: 3.953 kB / 349 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.1354, allocations: 3.938 kB / 349 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1354, allocations: 7.984 kB / 349 MB, free: 4.617 MB / 282.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.0001148/0.1356, allocations: 181.1 kB / 349.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.1356, allocations: 113 kB / 349.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.1357, allocations: 116.5 kB / 349.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.118e-05/0.1358, allocations: 180.2 kB / 349.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.056e-05/0.1359, allocations: 180.2 kB / 349.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-05/0.136, allocations: 184.2 kB / 350 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1362, allocations: 409.2 kB / 350.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.1363, allocations: 105 kB / 350.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.1363, allocations: 108.9 kB / 350.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.687e-05/0.1364, allocations: 176.3 kB / 350.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-05/0.1365, allocations: 180.2 kB / 350.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.016e-05/0.1366, allocations: 188.5 kB / 351.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.1367, allocations: 180.3 kB / 351.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1368, allocations: 311.7 kB / 351.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.137, allocations: 190 kB / 351.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.1371, allocations: 180.3 kB / 352 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1372, allocations: 101 kB / 352.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.1373, allocations: 180.2 kB / 352.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.1374, allocations: 116.9 kB / 352.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.1375, allocations: 83.28 kB / 352.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1375, allocations: 0 / 352.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.1379, allocations: 47.98 kB / 352.5 MB, free: 0.957 MB / 282.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.0005467/0.1384, allocations: 252.6 kB / 352.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.1386, allocations: 7.938 kB / 352.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1386, allocations: 0 / 352.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.1386, allocations: 0 / 352.7 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1389, allocations: 0.5185 MB / 353.3 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.1392, allocations: 187.8 kB / 353.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1395, allocations: 0.677 MB / 354.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.1395, allocations: 7.438 kB / 354.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1396, allocations: 0 / 354.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004207/0.1438, allocations: 0.9859 MB / 355.1 MB, free: 14.27 MB / 298.7 MB