Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.423e-05, allocations: 3.906 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005258/0.353, allocations: 3.242 MB / 306.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3554, allocations: 0.8116 MB / 307.3 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.3559, allocations: 12.31 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.356, allocations: 70.67 kB / 307.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.3567, allocations: 188.4 kB / 307.6 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.3571, allocations: 104.2 kB / 307.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000767/0.3579, allocations: 356.3 kB / 308.1 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3582, allocations: 105.5 kB / 308.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.3586, allocations: 199.4 kB / 308.4 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.359, allocations: 227.2 kB / 308.6 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3591, allocations: 24 kB / 308.6 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.3592, allocations: 24 kB / 308.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3593, allocations: 99.58 kB / 308.7 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3595, allocations: 56 kB / 308.8 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.3602, allocations: 464.5 kB / 309.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3602, allocations: 0 / 309.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3602, allocations: 0 / 309.2 MB, free: 7.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3602, allocations: 0 / 309.2 MB, free: 7.73 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001716/0.3619, allocations: 0.7292 MB / 310 MB, free: 6.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.362, allocations: 8.031 kB / 310 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.3622, allocations: 67.25 kB / 310 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.3629, allocations: 354.6 kB / 310.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.3629, allocations: 37 kB / 310.4 MB, free: 6.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.363, allocations: 51.91 kB / 310.5 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.3643, allocations: 479.2 kB / 310.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3643, allocations: 3.938 kB / 310.9 MB, free: 5.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.3644, allocations: 20 kB / 311 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.3645, allocations: 12 kB / 311 MB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3655, allocations: 328.3 kB / 311.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.3697, allocations: 1.732 MB / 313 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.3705, allocations: 269.1 kB / 313.3 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.3706, allocations: 4 kB / 313.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3706, allocations: 34.56 kB / 313.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/0.3706, allocations: 0 / 313.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002865/0.3735, allocations: 0.9619 MB / 314.3 MB, free: 2.367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.3736, allocations: 85.11 kB / 314.4 MB, free: 2.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.3742, allocations: 344.7 kB / 314.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3743, allocations: 33.64 kB / 314.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3745, allocations: 330 kB / 315.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3746, allocations: 118.3 kB / 315.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3747, allocations: 8 kB / 315.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3748, allocations: 330.8 kB / 315.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.3752, allocations: 100.8 kB / 315.6 MB, free: 1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.3757, allocations: 194.8 kB / 315.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.3761, allocations: 134.6 kB / 315.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3761, allocations: 0 / 315.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001345/0.3775, allocations: 428.9 kB / 316.3 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3775, allocations: 11.95 kB / 316.4 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3775, allocations: 3.938 kB / 316.4 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.3781, allocations: 85.97 kB / 316.4 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.3787, allocations: 79.89 kB / 316.5 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.3821, allocations: 2.869 MB / 319.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.3828, allocations: 19.92 kB / 319.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.3828, allocations: 16 kB / 319.4 MB, free: 12.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.3832, allocations: 169.7 kB / 319.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.3833, allocations: 43.53 kB / 319.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3834, allocations: 43.47 kB / 319.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3834, allocations: 4 kB / 319.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.3835, allocations: 12 kB / 319.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3835, allocations: 3.984 kB / 319.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.3858, allocations: 0.95 MB / 320.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3858, allocations: 0 / 320.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.3862, allocations: 48.3 kB / 320.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.3867, allocations: 85.64 kB / 320.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3868, allocations: 11.98 kB / 320.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.3901, allocations: 2.857 MB / 323.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3902, allocations: 0 / 323.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3918, allocations: 0.6385 MB / 324.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.392, allocations: 116.7 kB / 324.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.3921, allocations: 4 kB / 324.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.3927, allocations: 43.97 kB / 324.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3928, allocations: 27.91 kB / 324.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3929, allocations: 12 kB / 324.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3933, allocations: 271.2 kB / 324.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3934, allocations: 0 / 324.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008424/0.3942, allocations: 116 kB / 324.9 MB, free: 7.031 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002061/0.3944, allocations: 115.2 kB / 325 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3959, allocations: 0.5167 MB / 325.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3959, allocations: 0 / 325.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009593/0.3969, allocations: 393.7 kB / 325.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.3976, allocations: 53.48 kB / 325.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4005, allocations: 1.198 MB / 327.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.401, allocations: 0.847 MB / 328 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4012, allocations: 31.44 kB / 328 MB, free: 3.766 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4012, allocations: 0 / 328 MB, free: 3.766 MB / 266.7 MB Notification: Performance of Templates: time 0.01871/0.42, allocations: 8.529 MB / 336.5 MB, free: 11.23 MB / 282.7 MB