Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.768e-05, allocations: 0 / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3377, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.541, allocations: 94.8 MB / 454.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5413, allocations: 79.95 kB / 454.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1449/0.6861, allocations: 38.71 MB / 493.4 MB, free: 10.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.296e-06/0.6862, allocations: 0 / 493.4 MB, free: 10.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.028e-05/0.6863, allocations: 20 kB / 493.4 MB, free: 10.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.006804/0.6931, allocations: 1.675 MB / 495.1 MB, free: 9.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6931, allocations: 8.031 kB / 495.1 MB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.7094, allocations: 1.052 MB / 496.1 MB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.7109, allocations: 0.5727 MB / 496.7 MB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7111, allocations: 102.7 kB / 496.8 MB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.7115, allocations: 132 kB / 496.9 MB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/0.7153, allocations: 1.432 MB / 498.4 MB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.7154, allocations: 11.84 kB / 498.4 MB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.7156, allocations: 56 kB / 498.4 MB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.7156, allocations: 35.95 kB / 498.5 MB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.7193, allocations: 1.474 MB / 499.9 MB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.7311, allocations: 5.464 MB / 0.4936 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.7345, allocations: 2.33 MB / 0.4958 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.7359, allocations: 0.6179 MB / 0.4964 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.7361, allocations: 106.1 kB / 0.4965 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.7362, allocations: 43.56 kB / 0.4966 GB, free: 10.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 8.9e-06/0.7362, allocations: 11.94 kB / 0.4966 GB, free: 10.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.00328/0.7395, allocations: 1.246 MB / 0.4978 GB, free: 9.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.7396, allocations: 98.09 kB / 0.4979 GB, free: 9.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.7403, allocations: 379 kB / 0.4983 GB, free: 9.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.7405, allocations: 45.7 kB / 0.4983 GB, free: 9.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7409, allocations: 463.4 kB / 0.4987 GB, free: 8.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.7414, allocations: 425.7 kB / 0.4992 GB, free: 8.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.7415, allocations: 24 kB / 0.4992 GB, free: 8.262 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.7418, allocations: 390.8 kB / 0.4995 GB, free: 7.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.7429, allocations: 422.6 kB / 0.4999 GB, free: 7.457 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.7443, allocations: 0.6727 MB / 0.5006 GB, free: 6.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.7455, allocations: 0.489 MB / 0.5011 GB, free: 6.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.7455, allocations: 4 kB / 0.5011 GB, free: 6.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003897/0.7495, allocations: 1.51 MB / 0.5026 GB, free: 4.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.7495, allocations: 8 kB / 0.5026 GB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.7495, allocations: 8 kB / 0.5026 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.7517, allocations: 0.5127 MB / 0.5031 GB, free: 4.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7528, allocations: 207.7 kB / 0.5033 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.7619, allocations: 4.255 MB / 0.5074 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.7631, allocations: 134.7 kB / 0.5076 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.7633, allocations: 55.98 kB / 0.5076 GB, free: 15.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.7636, allocations: 174.8 kB / 0.5078 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.7639, allocations: 82.95 kB / 0.5079 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.7677, allocations: 1.505 MB / 0.5093 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.7678, allocations: 12 kB / 0.5093 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.657e-06/0.7678, allocations: 0 / 0.5093 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.7678, allocations: 11.94 kB / 0.5094 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.7743, allocations: 2.814 MB / 0.5121 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.587e-06/0.7743, allocations: 4.031 kB / 0.5121 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/0.7752, allocations: 143.8 kB / 0.5122 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.7777, allocations: 0.5028 MB / 0.5127 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.778, allocations: 27.98 kB / 0.5128 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009489/0.7875, allocations: 4.251 MB / 0.5169 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-06/0.7875, allocations: 0 / 0.5169 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/0.7928, allocations: 2.207 MB / 0.5191 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.7935, allocations: 295.6 kB / 0.5193 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.7937, allocations: 20 kB / 0.5194 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.7945, allocations: 60.03 kB / 0.5194 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.7948, allocations: 105.1 kB / 0.5195 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.795, allocations: 35.98 kB / 0.5196 GB, free: 2.848 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005512/0.7955, allocations: 289.6 kB / 0.5198 GB, free: 2.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.7956, allocations: 4 kB / 0.5198 GB, free: 2.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001662/0.7972, allocations: 426.9 kB / 0.5202 GB, free: 2.141 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/0.7976, allocations: 175 kB / 0.5204 GB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.8019, allocations: 1.643 MB / 0.522 GB, free: 316 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.879e-06/0.8019, allocations: 4.125 kB / 0.522 GB, free: 312 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2504/1.052, allocations: 1.07 MB / 0.5231 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/1.053, allocations: 80.41 kB / 0.5231 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006174/1.059, allocations: 2.02 MB / 0.5251 GB, free: 119.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/1.06, allocations: 1.093 MB / 0.5262 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000797/1.061, allocations: 114.3 kB / 0.5263 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.061, allocations: 60.09 kB / 0.5263 GB, free: 119 MB / 458.7 MB Notification: Performance of SimCode: time 2.004e-06/1.061, allocations: 1.125 kB / 0.5263 GB, free: 119 MB / 458.7 MB Notification: Performance of Templates: time 0.04093/1.102, allocations: 15.91 MB / 0.5419 GB, free: 118.2 MB / 458.7 MB