Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270 MB / 283.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.606e-05, allocations: 8 kB / 348.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3822, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.5475, allocations: 102.4 MB / 0.5007 GB, free: 4.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5478, allocations: 79.95 kB / 0.5007 GB, free: 4.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4607/1.009, allocations: 38.66 MB / 0.5385 GB, free: 99.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.892e-06/1.009, allocations: 4 kB / 0.5385 GB, free: 99.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.169e-05/1.009, allocations: 23.06 kB / 0.5385 GB, free: 99.47 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.01095/1.02, allocations: 1.677 MB / 0.5402 GB, free: 98.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.02, allocations: 7.031 kB / 0.5402 GB, free: 98.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/1.036, allocations: 0.9829 MB / 0.5411 GB, free: 98.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/1.038, allocations: 0.5939 MB / 0.5417 GB, free: 97.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.038, allocations: 97.14 kB / 0.5418 GB, free: 97.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005498/1.039, allocations: 149.2 kB / 0.5419 GB, free: 97.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005652/1.045, allocations: 1.399 MB / 0.5433 GB, free: 97.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/1.045, allocations: 3.625 kB / 0.5433 GB, free: 97.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/1.045, allocations: 51.06 kB / 0.5434 GB, free: 97.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/1.045, allocations: 36 kB / 0.5434 GB, free: 97.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005888/1.051, allocations: 1.419 MB / 0.5448 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/1.069, allocations: 5.46 MB / 0.5501 GB, free: 91.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/1.075, allocations: 2.143 MB / 0.5522 GB, free: 89.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/1.077, allocations: 0.6126 MB / 0.5528 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/1.078, allocations: 104.2 kB / 0.5529 GB, free: 88.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/1.078, allocations: 47.56 kB / 0.5529 GB, free: 88.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 9.052e-06/1.078, allocations: 0 / 0.5529 GB, free: 88.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.005801/1.084, allocations: 1.225 MB / 0.5541 GB, free: 87.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.084, allocations: 90.11 kB / 0.5542 GB, free: 86.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.085, allocations: 407.8 kB / 0.5546 GB, free: 86.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/1.085, allocations: 49.7 kB / 0.5547 GB, free: 86.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/1.085, allocations: 452.3 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/1.086, allocations: 424.4 kB / 0.5555 GB, free: 85.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/1.086, allocations: 20 kB / 0.5555 GB, free: 85.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/1.086, allocations: 382.8 kB / 0.5559 GB, free: 85.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/1.087, allocations: 414.6 kB / 0.5563 GB, free: 84.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.088, allocations: 0.6282 MB / 0.5569 GB, free: 84.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.089, allocations: 480.5 kB / 0.5574 GB, free: 83.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.089, allocations: 4 kB / 0.5574 GB, free: 83.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00326/1.092, allocations: 1.434 MB / 0.5588 GB, free: 82.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.092, allocations: 12.06 kB / 0.5588 GB, free: 82.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.092, allocations: 12 kB / 0.5588 GB, free: 82.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/1.094, allocations: 0.5083 MB / 0.5593 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.095, allocations: 195.7 kB / 0.5595 GB, free: 81.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/1.103, allocations: 4.269 MB / 0.5636 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.104, allocations: 126.7 kB / 0.5638 GB, free: 76.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/1.105, allocations: 51.98 kB / 0.5638 GB, free: 76.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (108): * Single equations (assignments): 107 * 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.0002884/1.105, allocations: 168.7 kB / 0.564 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/1.105, allocations: 79.06 kB / 0.564 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/1.109, allocations: 1.563 MB / 0.5656 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.109, allocations: 16 kB / 0.5656 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.911e-06/1.109, allocations: 0 / 0.5656 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/1.109, allocations: 3.984 kB / 0.5656 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/1.114, allocations: 2.784 MB / 0.5683 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.276e-06/1.114, allocations: 4 kB / 0.5683 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/1.115, allocations: 143.9 kB / 0.5684 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.117, allocations: 0.5028 MB / 0.5689 GB, free: 71.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.117, allocations: 27.95 kB / 0.569 GB, free: 71.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007356/1.124, allocations: 4.255 MB / 0.5731 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.124, allocations: 4 kB / 0.5731 GB, free: 67.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/1.129, allocations: 2.175 MB / 0.5752 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/1.129, allocations: 295.6 kB / 0.5755 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.129, allocations: 27.94 kB / 0.5756 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/1.13, allocations: 56.03 kB / 0.5756 GB, free: 64.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.13, allocations: 97.11 kB / 0.5757 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.131, allocations: 43.94 kB / 0.5757 GB, free: 64.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004166/1.131, allocations: 305.7 kB / 0.576 GB, free: 64.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.39e-07/1.131, allocations: 3.938 kB / 0.576 GB, free: 64.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001459/1.132, allocations: 407.1 kB / 0.5764 GB, free: 63.73 MB / 442.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 (84): * Single equations (assignments): 83 * 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.0003732/1.133, allocations: 200.6 kB / 0.5766 GB, free: 63.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003488/1.136, allocations: 1.612 MB / 0.5782 GB, free: 61.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.196e-06/1.136, allocations: 8.125 kB / 0.5782 GB, free: 61.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/1.139, allocations: 1.07 MB / 0.5792 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/1.14, allocations: 89.94 kB / 0.5793 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/1.146, allocations: 2.059 MB / 0.5813 GB, free: 58.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/1.146, allocations: 1.099 MB / 0.5824 GB, free: 57.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007347/1.147, allocations: 114.6 kB / 0.5825 GB, free: 57.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/1.147, allocations: 59.42 kB / 0.5826 GB, free: 57.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.878e-06/1.147, allocations: 0 / 0.5826 GB, free: 57.37 MB / 442.7 MB Notification: Performance of Templates: time 0.03688/1.184, allocations: 16.04 MB / 0.5982 GB, free: 41.43 MB / 442.7 MB