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.476/2.476, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.74e-05, allocations: 3.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3848, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01055/0.3954, allocations: 6.093 MB / 368.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.4016, allocations: 1.958 MB / 370.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.403, allocations: 34.84 kB / 370.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.4041, allocations: 221.6 kB / 371.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.4077, allocations: 0.74 MB / 371.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.4107, allocations: 0.5885 MB / 372.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.4133, allocations: 0.7377 MB / 373.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/0.4174, allocations: 1.34 MB / 374.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.4184, allocations: 435 kB / 375 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009645/0.4194, allocations: 0.5492 MB / 375.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.4204, allocations: 207.7 kB / 375.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.4206, allocations: 48 kB / 375.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.4209, allocations: 207.2 kB / 376 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.4212, allocations: 100 kB / 376.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.4234, allocations: 1.272 MB / 377.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4235, allocations: 0 / 377.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4235, allocations: 0 / 377.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.4235, allocations: 0 / 377.4 MB, free: 15.28 MB / 314.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.01225/0.4358, allocations: 2.096 MB / 379.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4358, allocations: 12.03 kB / 379.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.4529, allocations: 1.497 MB / 381 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.4546, allocations: 0.5667 MB / 381.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.4547, allocations: 102.7 kB / 381.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/0.4552, allocations: 139.8 kB / 381.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.4598, allocations: 1.499 MB / 383.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.4599, allocations: 4 kB / 383.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.4602, allocations: 59.95 kB / 383.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/0.4602, allocations: 39.92 kB / 383.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/0.4656, allocations: 1.58 MB / 384.9 MB, free: 7.539 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.4797, allocations: 5.378 MB / 390.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004462/0.4841, allocations: 2.366 MB / 392.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.4845, allocations: 106.1 kB / 392.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.4846, allocations: 51.56 kB / 392.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 4.258e-06/0.4846, allocations: 0 / 392.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01756/0.5022, allocations: 3.13 MB / 396 MB, free: 11.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.5023, allocations: 102.1 kB / 396.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.5031, allocations: 388.8 kB / 396.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.5032, allocations: 45.7 kB / 396.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.5037, allocations: 0.5133 MB / 397 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.5042, allocations: 429.7 kB / 397.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5044, allocations: 27.94 kB / 397.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5046, allocations: 362.8 kB / 397.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.5061, allocations: 467.1 kB / 398.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.5079, allocations: 0.7478 MB / 399 MB, free: 8.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.5097, allocations: 0.5374 MB / 399.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.5097, allocations: 0 / 399.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005138/0.5149, allocations: 1.623 MB / 401.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.515, allocations: 8 kB / 401.2 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.515, allocations: 11.95 kB / 401.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.5178, allocations: 0.5284 MB / 401.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.5195, allocations: 215.6 kB / 401.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.5329, allocations: 5.012 MB / 406.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.535, allocations: 142.8 kB / 407.1 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.5352, allocations: 48 kB / 407.1 MB, free: 436 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.000717/0.536, allocations: 273.5 kB / 407.4 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.5363, allocations: 79.06 kB / 407.5 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.5412, allocations: 1.602 MB / 409.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.5413, allocations: 12 kB / 409.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5413, allocations: 0 / 409.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.5413, allocations: 7.969 kB / 409.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007874/0.5492, allocations: 2.884 MB / 412 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.5493, allocations: 0 / 412 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.5506, allocations: 151.8 kB / 412.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.5533, allocations: 0.5226 MB / 412.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.5535, allocations: 24 kB / 412.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.5671, allocations: 5 MB / 417.7 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5672, allocations: 3.938 kB / 417.7 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007125/0.5743, allocations: 2.335 MB / 420 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.5751, allocations: 275.8 kB / 420.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.5753, allocations: 20 kB / 420.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.5765, allocations: 67.91 kB / 420.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/0.5769, allocations: 101.1 kB / 420.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.577, allocations: 35.98 kB / 420.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005499/0.5776, allocations: 294.9 kB / 420.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5776, allocations: 0 / 420.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001875/0.5795, allocations: 411.1 kB / 421.2 MB, free: 2.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004624/0.58, allocations: 166.9 kB / 421.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.5863, allocations: 1.873 MB / 423.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.5864, allocations: 1.312 kB / 423.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.5906, allocations: 1.243 MB / 424.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.5915, allocations: 76.72 kB / 424.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.5978, allocations: 2.573 MB / 427.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.5989, allocations: 1.103 MB / 428.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.5994, allocations: 71.42 kB / 428.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5994, allocations: 0 / 428.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.03924/0.6387, allocations: 17.14 MB / 445.4 MB, free: 9.66 MB / 378.7 MB