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.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.534e-05, allocations: 0 / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08072, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005276/0.08604, allocations: 3.255 MB / 270.2 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.08835, allocations: 0.8032 MB / 271 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.08872, allocations: 15.94 kB / 271 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.0889, allocations: 63.48 kB / 271.1 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.08948, allocations: 191.4 kB / 271.2 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.08986, allocations: 107.8 kB / 271.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.0905, allocations: 347.6 kB / 271.7 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.09079, allocations: 116.5 kB / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.09113, allocations: 195.5 kB / 272 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.09155, allocations: 223.2 kB / 272.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.09169, allocations: 24 kB / 272.2 MB, free: 11.12 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.09178, allocations: 31.98 kB / 272.3 MB, free: 11.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.09191, allocations: 95.58 kB / 272.4 MB, free: 11 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.09208, allocations: 56 kB / 272.4 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.09275, allocations: 470.8 kB / 272.9 MB, free: 10.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09277, allocations: 0 / 272.9 MB, free: 10.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.09278, allocations: 0 / 272.9 MB, free: 10.48 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.0928, allocations: 0 / 272.9 MB, free: 10.48 MB / 234.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.001682/0.09449, allocations: 0.7291 MB / 273.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.09455, allocations: 12.03 kB / 273.6 MB, free: 9.691 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.09472, allocations: 71.19 kB / 273.7 MB, free: 9.621 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.09537, allocations: 358.6 kB / 274 MB, free: 9.234 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.09544, allocations: 40.95 kB / 274.1 MB, free: 9.195 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.09556, allocations: 51.91 kB / 274.1 MB, free: 9.145 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.09681, allocations: 479.1 kB / 274.6 MB, free: 8.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.09684, allocations: 4 kB / 274.6 MB, free: 8.656 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.09693, allocations: 23.98 kB / 274.6 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.09695, allocations: 12 kB / 274.6 MB, free: 8.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.098, allocations: 332.3 kB / 274.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.1021, allocations: 1.713 MB / 276.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.1029, allocations: 276.9 kB / 276.9 MB, free: 6.195 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.1029, allocations: 7.984 kB / 276.9 MB, free: 6.188 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.103, allocations: 42.55 kB / 277 MB, free: 6.137 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 3.436e-06/0.103, allocations: 0 / 277 MB, free: 6.137 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002943/0.106, allocations: 0.9646 MB / 277.9 MB, free: 5.094 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1061, allocations: 89.03 kB / 278 MB, free: 4.988 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.1067, allocations: 340.8 kB / 278.4 MB, free: 4.645 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.1068, allocations: 29.7 kB / 278.4 MB, free: 4.609 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.107, allocations: 287.5 kB / 278.7 MB, free: 4.32 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1072, allocations: 118.3 kB / 278.8 MB, free: 4.203 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1072, allocations: 12 kB / 278.8 MB, free: 4.191 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1074, allocations: 350.8 kB / 279.1 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.1078, allocations: 100.8 kB / 279.2 MB, free: 3.742 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.1083, allocations: 194.8 kB / 279.4 MB, free: 3.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.1087, allocations: 132.8 kB / 279.6 MB, free: 3.391 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1087, allocations: 0 / 279.6 MB, free: 3.391 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00142/0.1102, allocations: 453.4 kB / 280 MB, free: 2.941 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.1102, allocations: 9.875 kB / 280 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1102, allocations: 7.984 kB / 280 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/0.1108, allocations: 85.88 kB / 280.1 MB, free: 2.836 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.1114, allocations: 75.91 kB / 280.2 MB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.1148, allocations: 2.865 MB / 283 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.1154, allocations: 28 kB / 283.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.1154, allocations: 12 kB / 283.1 MB, free: 15.59 MB / 250.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.0002968/0.1158, allocations: 169.7 kB / 283.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1159, allocations: 43.48 kB / 283.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.801e-05/0.116, allocations: 43.52 kB / 283.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.116, allocations: 4 kB / 283.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.116, allocations: 4 kB / 283.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1161, allocations: 3.984 kB / 283.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.1183, allocations: 0.9442 MB / 284.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1183, allocations: 3.984 kB / 284.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.1187, allocations: 47.91 kB / 284.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.1192, allocations: 93.53 kB / 284.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.1192, allocations: 4.312 kB / 284.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.1226, allocations: 2.873 MB / 287.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1226, allocations: 0 / 287.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.1243, allocations: 0.6342 MB / 287.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.1245, allocations: 140.6 kB / 288.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.1246, allocations: 7.938 kB / 288.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.1252, allocations: 35.98 kB / 288.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1254, allocations: 27.95 kB / 288.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.1254, allocations: 8.375 kB / 288.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004639/0.1259, allocations: 279.2 kB / 288.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1259, allocations: 0 / 288.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008233/0.1267, allocations: 116 kB / 288.5 MB, free: 9.738 MB / 250.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.0001931/0.1269, allocations: 111.3 kB / 288.7 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.1284, allocations: 0.5167 MB / 289.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1284, allocations: 3.984 kB / 289.2 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.1294, allocations: 391.9 kB / 289.6 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.13, allocations: 57.48 kB / 289.6 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.1326, allocations: 1.169 MB / 290.8 MB, free: 7.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.1332, allocations: 0.8509 MB / 291.6 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.1335, allocations: 43.28 kB / 291.7 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1337, allocations: 31.44 kB / 291.7 MB, free: 6.461 MB / 250.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1337, allocations: 7.938 kB / 291.7 MB, free: 6.453 MB / 250.7 MB Notification: Performance of Templates: time 0.01489/0.1486, allocations: 4.238 MB / 296 MB, free: 2.234 MB / 250.7 MB