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_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.161/2.161, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.141e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4653, allocations: 94.8 MB / 454.6 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4656, allocations: 80.73 kB / 454.6 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1338/0.5994, allocations: 38.7 MB / 493.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5995, allocations: 0 / 493.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.09e-05/0.5996, allocations: 20 kB / 493.4 MB, free: 10.96 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.00664/0.6062, allocations: 1.671 MB / 495 MB, free: 9.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6063, allocations: 8.031 kB / 495 MB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00957/0.6159, allocations: 1.06 MB / 496.1 MB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.6172, allocations: 0.5689 MB / 496.7 MB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.6174, allocations: 98.69 kB / 496.8 MB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.6177, allocations: 132 kB / 496.9 MB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.6213, allocations: 1.44 MB / 498.3 MB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.6213, allocations: 7.906 kB / 498.3 MB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.6216, allocations: 56 kB / 498.4 MB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.6216, allocations: 35.95 kB / 498.4 MB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.6252, allocations: 1.474 MB / 499.9 MB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.6368, allocations: 5.464 MB / 0.4935 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/0.6401, allocations: 2.322 MB / 0.4958 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.6414, allocations: 0.6218 MB / 0.4964 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.6417, allocations: 110.1 kB / 0.4965 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.6417, allocations: 43.56 kB / 0.4966 GB, free: 11.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 5.4e-06/0.6417, allocations: 7.875 kB / 0.4966 GB, free: 11.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.003183/0.6449, allocations: 1.25 MB / 0.4978 GB, free: 9.883 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.645, allocations: 90.11 kB / 0.4979 GB, free: 9.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.6457, allocations: 387 kB / 0.4982 GB, free: 9.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.6458, allocations: 41.7 kB / 0.4983 GB, free: 9.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.6463, allocations: 0.4979 MB / 0.4988 GB, free: 8.844 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.6467, allocations: 429.7 kB / 0.4992 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.6469, allocations: 24 kB / 0.4992 GB, free: 8.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6471, allocations: 370.8 kB / 0.4995 GB, free: 8.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.6482, allocations: 422.6 kB / 0.4999 GB, free: 7.609 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.6495, allocations: 0.6728 MB / 0.5006 GB, free: 6.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.6507, allocations: 0.489 MB / 0.5011 GB, free: 6.344 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.6508, allocations: 4 kB / 0.5011 GB, free: 6.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003821/0.6546, allocations: 1.486 MB / 0.5025 GB, free: 4.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.6547, allocations: 8 kB / 0.5025 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.6547, allocations: 8 kB / 0.5026 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.6568, allocations: 0.5127 MB / 0.5031 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6579, allocations: 203.7 kB / 0.5033 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009098/0.6671, allocations: 4.263 MB / 0.5074 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6681, allocations: 130.7 kB / 0.5075 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.6683, allocations: 55.98 kB / 0.5076 GB, free: 15.53 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.0003272/0.6686, allocations: 170.8 kB / 0.5078 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.6689, allocations: 86.97 kB / 0.5078 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.6726, allocations: 1.505 MB / 0.5093 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.6726, allocations: 12 kB / 0.5093 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-06/0.6726, allocations: 0 / 0.5093 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.6727, allocations: 15.92 kB / 0.5093 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/0.679, allocations: 2.807 MB / 0.5121 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.211e-06/0.679, allocations: 0 / 0.5121 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.6799, allocations: 147.8 kB / 0.5122 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/0.6819, allocations: 0.5028 MB / 0.5127 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.6821, allocations: 31.98 kB / 0.5127 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009049/0.6911, allocations: 4.255 MB / 0.5169 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.458e-06/0.6912, allocations: 0 / 0.5169 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.6963, allocations: 2.203 MB / 0.519 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.6969, allocations: 295.6 kB / 0.5193 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.6971, allocations: 20 kB / 0.5193 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007766/0.6979, allocations: 60.03 kB / 0.5194 GB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.6982, allocations: 101.1 kB / 0.5195 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6984, allocations: 35.98 kB / 0.5195 GB, free: 3.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004839/0.6988, allocations: 289.6 kB / 0.5198 GB, free: 2.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.6989, allocations: 0 / 0.5198 GB, free: 2.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001615/0.7005, allocations: 430.9 kB / 0.5202 GB, free: 2.32 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.0003814/0.7009, allocations: 175 kB / 0.5204 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.705, allocations: 1.646 MB / 0.522 GB, free: 496 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.971e-06/0.705, allocations: 0.5 kB / 0.522 GB, free: 496 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2452/0.9503, allocations: 1.071 MB / 0.523 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.0007793/0.9511, allocations: 82.03 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.005967/0.9571, allocations: 2.06 MB / 0.5251 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.9579, allocations: 1.093 MB / 0.5262 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.9583, allocations: 73.55 kB / 0.5263 GB, free: 119 MB / 458.7 MB Notification: Performance of SimCode: time 1.811e-06/0.9584, allocations: 0 / 0.5263 GB, free: 119 MB / 458.7 MB Notification: Performance of Templates: time 0.02716/0.9855, allocations: 16.92 MB / 0.5428 GB, free: 118.4 MB / 458.7 MB