Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 2.195/2.195, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.967e-05, allocations: 4 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0008653/0.3182, allocations: 243.2 kB / 303.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3222, allocations: 1.727 MB / 305.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.3223, allocations: 1.156 kB / 305.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007906/0.3231, allocations: 67.38 kB / 305.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3232, allocations: 33.03 kB / 305.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3236, allocations: 47.14 kB / 305.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.899e-05/0.3237, allocations: 22.86 kB / 305.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.3237, allocations: 0.9688 kB / 305.4 MB, free: 11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3239, allocations: 27.84 kB / 305.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.3241, allocations: 19.27 kB / 305.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.3242, allocations: 11.56 kB / 305.5 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3242, allocations: 7.156 kB / 305.5 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3244, allocations: 51.16 kB / 305.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.3245, allocations: 4.594 kB / 305.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.3248, allocations: 90.11 kB / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3248, allocations: 0 / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.3248, allocations: 1.062 kB / 305.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3248, allocations: 0 / 305.6 MB, free: 10.9 MB / 250.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.0005992/0.3254, allocations: 380.5 kB / 306 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.3255, allocations: 8.812 kB / 306 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3256, allocations: 18.72 kB / 306 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.3273, allocations: 383.4 kB / 306.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3274, allocations: 0 / 306.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3274, allocations: 0 / 306.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3277, allocations: 79 kB / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3277, allocations: 0 / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3277, allocations: 5.062 kB / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3278, allocations: 0 / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.3278, allocations: 2.75 kB / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.3286, allocations: 236.1 kB / 306.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.662e-05/0.3287, allocations: 17.73 kB / 306.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3287, allocations: 0 / 306.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.3288, allocations: 48.47 kB / 306.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.3288, allocations: 0 / 306.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002545/0.3291, allocations: 47.84 kB / 306.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.3292, allocations: 129.6 kB / 307 MB, free: 9.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.3301, allocations: 294.8 kB / 307.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3301, allocations: 26.8 kB / 307.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3303, allocations: 169.8 kB / 307.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3303, allocations: 4.969 kB / 307.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.3303, allocations: 0 / 307.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3305, allocations: 316 kB / 307.7 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.3306, allocations: 6 kB / 307.8 MB, free: 8.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3307, allocations: 48.52 kB / 307.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/0.3308, allocations: 9.047 kB / 307.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3308, allocations: 4.016 kB / 307.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001583/0.331, allocations: 44.16 kB / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.331, allocations: 5.438 kB / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.331, allocations: 3.938 kB / 307.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3311, allocations: 3.984 kB / 307.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.3311, allocations: 3.375 kB / 307.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.3312, allocations: 0 / 307.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.3315, allocations: 21.38 kB / 307.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3315, allocations: 4 kB / 307.9 MB, free: 8.758 MB / 250.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 (2): * Single equations (assignments): 2 * 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.0002096/0.3317, allocations: 135.3 kB / 308 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.3318, allocations: 14.77 kB / 308 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.3319, allocations: 16.41 kB / 308.1 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3319, allocations: 3.984 kB / 308.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3319, allocations: 0 / 308.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.332, allocations: 1.188 kB / 308.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.3324, allocations: 199.5 kB / 308.3 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3324, allocations: 3.984 kB / 308.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.3325, allocations: 7.953 kB / 308.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3325, allocations: 0 / 308.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3326, allocations: 4 kB / 308.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3326, allocations: 0 / 308.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3326, allocations: 0 / 308.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3329, allocations: 77.03 kB / 308.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.3331, allocations: 120.8 kB / 308.5 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.3332, allocations: 11.95 kB / 308.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.3334, allocations: 8 kB / 308.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.3334, allocations: 96 / 308.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3334, allocations: 4 kB / 308.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005979/0.3341, allocations: 244.2 kB / 308.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3341, allocations: 0 / 308.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.3346, allocations: 19.98 kB / 308.7 MB, free: 7.859 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006584/0.3353, allocations: 169.5 kB / 308.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.3355, allocations: 12 kB / 308.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.3355, allocations: 4 kB / 308.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.3355, allocations: 3.984 kB / 308.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3358, allocations: 15.88 kB / 308.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.3366, allocations: 275.6 kB / 309.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.3371, allocations: 0.7165 MB / 309.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3372, allocations: 23.42 kB / 310 MB, free: 6.613 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3373, allocations: 0 / 310 MB, free: 6.613 MB / 250.7 MB Notification: Performance of Templates: time 0.007754/0.345, allocations: 2.01 MB / 312 MB, free: 4.605 MB / 250.7 MB