Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator") Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.825e-05, allocations: 7.234 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5752, allocations: 86.27 MB / 496.5 MB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.5755, allocations: 67.97 kB / 496.6 MB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005066/0.5805, allocations: 1.534 MB / 498.1 MB, free: 296 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.157e-06/0.5806, allocations: 0 / 498.1 MB, free: 296 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.5806, allocations: 4 kB / 498.1 MB, free: 292 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004848/0.5811, allocations: 378.4 kB / 498.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5812, allocations: 12.03 kB / 498.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.5812, allocations: 7.906 kB / 498.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5814, allocations: 171 kB / 498.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5814, allocations: 8.234 kB / 498.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.5815, allocations: 19.94 kB / 498.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.5818, allocations: 127.6 kB / 498.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5818, allocations: 4 kB / 498.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5818, allocations: 0 / 498.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5818, allocations: 4 kB / 498.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.582, allocations: 55.94 kB / 498.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5831, allocations: 0.7281 MB / 499.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5832, allocations: 169.1 kB / 499.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.5833, allocations: 84.12 kB / 499.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.5834, allocations: 75.28 kB / 500 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/0.5834, allocations: 109.8 kB / 0.4883 GB, free: 14.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.036e-06/0.5834, allocations: 0 / 0.4883 GB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.378e-05/0.5835, allocations: 33.61 kB / 0.4884 GB, free: 14.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.5836, allocations: 138.6 kB / 0.4885 GB, free: 13.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5838, allocations: 125.6 kB / 0.4886 GB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.5838, allocations: 28.55 kB / 0.4887 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.584, allocations: 127.5 kB / 0.4888 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-06/0.584, allocations: 3.984 kB / 0.4888 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-06/0.584, allocations: 3.938 kB / 0.4888 GB, free: 13.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5842, allocations: 322.8 kB / 0.4891 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.5842, allocations: 8 kB / 0.4891 GB, free: 13.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.5843, allocations: 41.16 kB / 0.4891 GB, free: 13.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.5843, allocations: 11.98 kB / 0.4891 GB, free: 13.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-06/0.5843, allocations: 0 / 0.4891 GB, free: 13.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001859/0.5845, allocations: 77.56 kB / 0.4892 GB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5846, allocations: 4 kB / 0.4892 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-06/0.5846, allocations: 0 / 0.4892 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5846, allocations: 4 kB / 0.4892 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.5847, allocations: 8 kB / 0.4892 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5847, allocations: 7.938 kB / 0.4892 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.5848, allocations: 7.844 kB / 0.4893 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-06/0.5848, allocations: 4.188 kB / 0.4893 GB, free: 13.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001226/0.5849, allocations: 196.2 kB / 0.4894 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.5851, allocations: 108.9 kB / 0.4895 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.5851, allocations: 112.6 kB / 0.4897 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-05/0.5852, allocations: 176.3 kB / 0.4898 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.133e-05/0.5853, allocations: 184.2 kB / 0.49 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-05/0.5855, allocations: 184.2 kB / 0.4902 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.5858, allocations: 441.1 kB / 0.4906 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-05/0.5859, allocations: 101.1 kB / 0.4907 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.586, allocations: 108.9 kB / 0.4908 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.196e-05/0.5861, allocations: 180.2 kB / 0.491 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.733e-05/0.5862, allocations: 184.3 kB / 0.4911 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.068e-05/0.5863, allocations: 184.2 kB / 0.4913 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.199e-05/0.5864, allocations: 178.3 kB / 0.4915 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.5866, allocations: 311.6 kB / 0.4918 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5867, allocations: 186.1 kB / 0.492 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5869, allocations: 180.3 kB / 0.4921 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.587, allocations: 108.9 kB / 0.4922 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.5871, allocations: 184.3 kB / 0.4924 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.5872, allocations: 105 kB / 0.4925 GB, free: 9.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5873, allocations: 106.9 kB / 0.4926 GB, free: 9.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.5873, allocations: 0 / 0.4926 GB, free: 9.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.5877, allocations: 15.91 kB / 0.4926 GB, free: 9.48 MB / 410.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.0001514/0.5878, allocations: 178.5 kB / 0.4928 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.709e-05/0.5879, allocations: 19.92 kB / 0.4928 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5879, allocations: 0 / 0.4928 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-06/0.588, allocations: 0 / 0.4928 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.5884, allocations: 0.5426 MB / 0.4933 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.5887, allocations: 172.4 kB / 0.4935 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.5891, allocations: 0.6926 MB / 0.4942 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.5892, allocations: 7.984 kB / 0.4942 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.5892, allocations: 15.44 kB / 0.4942 GB, free: 7.793 MB / 410.7 MB Notification: Performance of SimCode: time 1.427e-06/0.5892, allocations: 0 / 0.4942 GB, free: 7.793 MB / 410.7 MB Notification: Performance of Templates: time 0.002824/0.592, allocations: 373.3 kB / 0.4946 GB, free: 7.43 MB / 410.7 MB