Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v|R1.Capacitor1.v|R10.Capacitor1.v|R11.Capacitor1.v|R2.Capacitor1.v|R3.Capacitor1.v|R4.Capacitor1.v|R5.Capacitor1.v|R7.Capacitor1.v|R8.Capacitor1.v|R9.Capacitor1.v|Rp1.Capacitor1.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.6e-05/4.613e-05, allocations: 6.188 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.0232/0.1428, allocations: 9.039 MB / 275.9 MB, free: 8.039 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009998/0.1529, allocations: 2.45 MB / 278.4 MB, free: 5.582 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.1563, allocations: 79.94 kB / 278.5 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.1586, allocations: 309.7 kB / 278.8 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004148/0.1628, allocations: 0.6697 MB / 279.4 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.1658, allocations: 475.5 kB / 279.9 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.1708, allocations: 1.495 MB / 281.4 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.1729, allocations: 0.753 MB / 282.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.1749, allocations: 0.7715 MB / 282.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.1773, allocations: 0.8992 MB / 283.8 MB, free: 124 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.1783, allocations: 104 kB / 283.9 MB, free: 20 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008039/0.1791, allocations: 108 kB / 284 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005275/0.1797, allocations: 378.4 kB / 284.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008639/0.1806, allocations: 216 kB / 284.6 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.1856, allocations: 2.781 MB / 287.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1857, allocations: 0 / 287.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1857, allocations: 0 / 287.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.1859, allocations: 0 / 287.4 MB, free: 12.54 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: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.008568/0.1944, allocations: 2.278 MB / 289.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1945, allocations: 12.03 kB / 289.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.1955, allocations: 249 kB / 289.9 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.1984, allocations: 1.009 MB / 290.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.1986, allocations: 164.4 kB / 291.1 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/0.1993, allocations: 227.9 kB / 291.3 MB, free: 8.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007532/0.2069, allocations: 2.293 MB / 293.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-05/0.207, allocations: 3.938 kB / 293.6 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.2074, allocations: 92 kB / 293.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.355e-05/0.2075, allocations: 56 kB / 293.7 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006777/0.2142, allocations: 1.699 MB / 295.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.235/0.4493, allocations: 8.803 MB / 304.3 MB, free: 23.01 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.4556, allocations: 2.121 MB / 306.4 MB, free: 22.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.4559, allocations: 20.19 kB / 306.4 MB, free: 22.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002977/0.4589, allocations: 0.9212 MB / 307.3 MB, free: 21.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=207): time 6.673e-06/0.4589, allocations: 1.312 kB / 307.3 MB, free: 21.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=207): time 0.02429/0.4832, allocations: 5.361 MB / 312.7 MB, free: 19.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.4834, allocations: 82.06 kB / 312.8 MB, free: 19.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.4851, allocations: 0.8367 MB / 313.6 MB, free: 18.83 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004162/0.4855, allocations: 67.03 kB / 313.7 MB, free: 18.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006801/0.4862, allocations: 0.8716 MB / 314.5 MB, free: 18.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/0.4871, allocations: 0.6646 MB / 315.2 MB, free: 17.56 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.4873, allocations: 51 kB / 315.2 MB, free: 17.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4875, allocations: 407.5 kB / 315.6 MB, free: 17.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.4898, allocations: 0.6793 MB / 316.3 MB, free: 16.88 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.4926, allocations: 1.352 MB / 317.7 MB, free: 15.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.4953, allocations: 0.7883 MB / 318.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/0.4954, allocations: 7.625 kB / 318.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.009616/0.505, allocations: 3.047 MB / 321.5 MB, free: 13.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.5051, allocations: 16.84 kB / 321.5 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.5052, allocations: 19.66 kB / 321.6 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005722/0.5109, allocations: 1.19 MB / 322.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.5129, allocations: 323.1 kB / 323.1 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03496/0.5479, allocations: 22.76 MB / 345.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.551, allocations: 297.6 kB / 346.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/0.5515, allocations: 100 kB / 346.2 MB, free: 5.793 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R4.IdealCommutingSwitch1.control,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001563/0.5531, allocations: 466.6 kB / 346.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.5536, allocations: 170 kB / 346.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.5542, allocations: 204.2 kB / 347 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.5543, allocations: 20 kB / 347 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.649e-05/0.5544, allocations: 20 kB / 347.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.5544, allocations: 7.969 kB / 347.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.5588, allocations: 1.904 MB / 349 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.5589, allocations: 0 / 349 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.5604, allocations: 139.9 kB / 349.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/0.5666, allocations: 1.165 MB / 350.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/0.567, allocations: 40 kB / 350.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03904/0.6061, allocations: 22.72 MB / 373 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6061, allocations: 0 / 373 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.6187, allocations: 3.535 MB / 376.6 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.6201, allocations: 430.5 kB / 377 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/0.6206, allocations: 36 kB / 377 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.6225, allocations: 115.9 kB / 377.1 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008292/0.6234, allocations: 209.7 kB / 377.3 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.6236, allocations: 51.94 kB / 377.4 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.6249, allocations: 0.6062 MB / 378 MB, free: 4.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6249, allocations: 0 / 378 MB, free: 4.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003715/0.6287, allocations: 0.7796 MB / 378.8 MB, free: 3.477 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.pulsStart,R4.IdealCommutingSwitch1.control,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005988/0.6293, allocations: 168.3 kB / 378.9 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/0.6401, allocations: 4.022 MB / 383 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.6401, allocations: 0.5625 kB / 383 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007631/0.6478, allocations: 3.028 MB / 386 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.6504, allocations: 323.2 kB / 386.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.664, allocations: 5.272 MB / 391.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.6658, allocations: 1.484 MB / 393.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.6664, allocations: 83.44 kB / 393.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6664, allocations: 4 kB / 393.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of Templates: time 0.3772/1.044, allocations: 112.1 MB / 0.4934 GB, free: 45.88 MB / 346.7 MB