Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.86e-05, allocations: 7.906 kB / 258.8 MB, free: 7.859 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2893, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001664/0.291, allocations: 1.044 MB / 304.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2383/0.5293, allocations: 123.1 MB / 427.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.5294, allocations: 0 / 427.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.5295, allocations: 3.984 kB / 427.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.5305, allocations: 215.3 kB / 427.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.5324, allocations: 0.4984 MB / 428.2 MB, free: 384 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.5325, allocations: 31.95 kB / 428.2 MB, free: 352 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.5326, allocations: 3.938 kB / 428.2 MB, free: 348 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.5327, allocations: 35.91 kB / 428.3 MB, free: 312 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.5328, allocations: 31.91 kB / 428.3 MB, free: 280 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2894/0.8222, allocations: 0.9569 MB / 429.2 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.8225, allocations: 38.31 kB / 429.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.8226, allocations: 19.06 kB / 429.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.8226, allocations: 6.469 kB / 429.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.8242, allocations: 487.4 kB / 429.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8243, allocations: 0.5625 kB / 429.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.8243, allocations: 1.938 kB / 429.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.8243, allocations: 0.625 kB / 429.8 MB, free: 1.738 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001053/0.8254, allocations: 446.1 kB / 430.2 MB, free: 17.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.8254, allocations: 8.719 kB / 430.2 MB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.8259, allocations: 39.34 kB / 430.3 MB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.8261, allocations: 198.5 kB / 430.5 MB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.8262, allocations: 3.422 kB / 430.5 MB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.8262, allocations: 8.844 kB / 430.5 MB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.8264, allocations: 71.45 kB / 430.5 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8264, allocations: 0.7188 kB / 430.5 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.8265, allocations: 4.297 kB / 430.5 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8265, allocations: 3.953 kB / 430.5 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.8267, allocations: 39.16 kB / 430.6 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.827, allocations: 201.4 kB / 430.8 MB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.8274, allocations: 110.3 kB / 430.9 MB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/0.8275, allocations: 26.88 kB / 430.9 MB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8275, allocations: 32.44 kB / 431 MB, free: 16.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.8275, allocations: 4 kB / 431 MB, free: 16.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005174/0.8281, allocations: 120.6 kB / 431.1 MB, free: 16.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.8282, allocations: 80.52 kB / 431.2 MB, free: 16.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.8283, allocations: 128.9 kB / 431.3 MB, free: 16.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.8284, allocations: 26.39 kB / 431.3 MB, free: 16.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.8284, allocations: 89.3 kB / 431.4 MB, free: 16.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.8285, allocations: 22.38 kB / 431.4 MB, free: 16.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.8285, allocations: 0 / 431.4 MB, free: 16.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8286, allocations: 326.3 kB / 431.7 MB, free: 16.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.8288, allocations: 20.52 kB / 431.8 MB, free: 16.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.8289, allocations: 49.42 kB / 431.8 MB, free: 16.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.829, allocations: 35.97 kB / 431.8 MB, free: 16.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.829, allocations: 0 / 431.8 MB, free: 16.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003898/0.8294, allocations: 106.4 kB / 431.9 MB, free: 16.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8295, allocations: 6.344 kB / 431.9 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8295, allocations: 1.281 kB / 431.9 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8295, allocations: 2.844 kB / 431.9 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8297, allocations: 17.45 kB / 432 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8297, allocations: 1.719 kB / 432 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.8298, allocations: 6.656 kB / 432 MB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.8298, allocations: 3.594 kB / 432 MB, free: 16.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.897e-05/0.8299, allocations: 126.5 kB / 432.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.83, allocations: 3.219 kB / 432.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.8303, allocations: 124.4 kB / 432.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8304, allocations: 0 / 432.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8304, allocations: 3.094 kB / 432.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8304, allocations: 2.484 kB / 432.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.8306, allocations: 184.8 kB / 432.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8306, allocations: 6.484 kB / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.8307, allocations: 19.98 kB / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8308, allocations: 3.875 kB / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.8308, allocations: 0 / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8308, allocations: 0 / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8308, allocations: 3.188 kB / 432.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.8313, allocations: 177.9 kB / 432.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.8314, allocations: 96.47 kB / 432.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.8314, allocations: 2.656 kB / 432.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.8315, allocations: 9.984 kB / 432.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.8316, allocations: 2.656 kB / 432.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.8316, allocations: 2.75 kB / 432.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.8317, allocations: 110.2 kB / 432.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8317, allocations: 0 / 432.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009174/0.8326, allocations: 195.1 kB / 433 MB, free: 15.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001545/0.8342, allocations: 456.6 kB / 433.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.8345, allocations: 62.16 kB / 433.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8345, allocations: 0 / 433.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.8346, allocations: 31.69 kB / 433.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.835, allocations: 29.72 kB / 433.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.8357, allocations: 354.4 kB / 433.9 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.8359, allocations: 0.6926 MB / 434.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.836, allocations: 18.36 kB / 434.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.8361, allocations: 19.77 kB / 434.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.8361, allocations: 3.938 kB / 434.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.8505, allocations: 5.753 MB / 440.4 MB, free: 13.62 MB / 378.7 MB