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_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.225e-05, allocations: 6.188 kB / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.08253, allocations: 38.78 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00516/0.08774, allocations: 3.25 MB / 270.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.08997, allocations: 0.8032 MB / 271 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.09042, allocations: 15.94 kB / 271 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.09062, allocations: 71.48 kB / 271 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005956/0.09123, allocations: 187.4 kB / 271.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.09163, allocations: 103.8 kB / 271.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.09237, allocations: 355.6 kB / 271.7 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.09269, allocations: 108.5 kB / 271.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.09308, allocations: 199.4 kB / 272 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.09351, allocations: 223.2 kB / 272.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.09365, allocations: 24 kB / 272.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.09375, allocations: 32 kB / 272.2 MB, free: 11.76 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.09388, allocations: 91.58 kB / 272.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.09405, allocations: 56 kB / 272.4 MB, free: 11.62 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.09472, allocations: 474.8 kB / 272.9 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.09474, allocations: 0 / 272.9 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.09475, allocations: 0 / 272.9 MB, free: 11.15 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.09478, allocations: 0 / 272.9 MB, free: 11.15 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.001763/0.09655, allocations: 0.733 MB / 273.6 MB, free: 10.37 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.09662, allocations: 12.03 kB / 273.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.09682, allocations: 71.17 kB / 273.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.09748, allocations: 346.6 kB / 274 MB, free: 9.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.09755, allocations: 40.95 kB / 274 MB, free: 9.871 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.09767, allocations: 51.91 kB / 274.1 MB, free: 9.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.09894, allocations: 479.2 kB / 274.6 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.09898, allocations: 0 / 274.6 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/0.09906, allocations: 20 kB / 274.6 MB, free: 9.316 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.09909, allocations: 12 kB / 274.6 MB, free: 9.305 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1002, allocations: 336.3 kB / 274.9 MB, free: 8.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.1046, allocations: 1.724 MB / 276.6 MB, free: 7.152 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.1054, allocations: 269 kB / 276.9 MB, free: 6.871 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.1054, allocations: 7.984 kB / 276.9 MB, free: 6.863 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1055, allocations: 38.56 kB / 277 MB, free: 6.816 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/0.1055, allocations: 0 / 277 MB, free: 6.816 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.003027/0.1085, allocations: 0.9607 MB / 277.9 MB, free: 5.777 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1086, allocations: 89.03 kB / 278 MB, free: 5.672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.1093, allocations: 344.8 kB / 278.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.1093, allocations: 33.7 kB / 278.4 MB, free: 5.285 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.1096, allocations: 333.9 kB / 278.7 MB, free: 4.953 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1097, allocations: 114.4 kB / 278.8 MB, free: 4.84 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.1098, allocations: 4 kB / 278.8 MB, free: 4.836 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1099, allocations: 330.8 kB / 279.1 MB, free: 4.504 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.1103, allocations: 100.8 kB / 279.2 MB, free: 4.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.1108, allocations: 190.8 kB / 279.4 MB, free: 4.184 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.1112, allocations: 132.8 kB / 279.6 MB, free: 4.055 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1112, allocations: 4 kB / 279.6 MB, free: 4.051 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00135/0.1126, allocations: 434 kB / 280 MB, free: 3.621 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1126, allocations: 4 kB / 280 MB, free: 3.617 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.1127, allocations: 4.312 kB / 280 MB, free: 3.613 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/0.1132, allocations: 85.59 kB / 280.1 MB, free: 3.523 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.1138, allocations: 87.88 kB / 280.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.1172, allocations: 2.877 MB / 283 MB, free: 304 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.1178, allocations: 19.89 kB / 283.1 MB, free: 284 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.1179, allocations: 16 kB / 283.1 MB, free: 268 kB / 234.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.0002966/0.1182, allocations: 161.7 kB / 283.2 MB, free: 96 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1183, allocations: 43.48 kB / 283.3 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1184, allocations: 47.52 kB / 283.3 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1184, allocations: 4.062 kB / 283.3 MB, free: 0 / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1185, allocations: 4.047 kB / 283.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1185, allocations: 3.984 kB / 283.3 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.1206, allocations: 0.9423 MB / 284.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1207, allocations: 0 / 284.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1211, allocations: 47.92 kB / 284.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.1216, allocations: 85.59 kB / 284.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.1216, allocations: 12.3 kB / 284.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.1249, allocations: 2.876 MB / 287.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.125, allocations: 0 / 287.3 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.1266, allocations: 0.6342 MB / 287.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.1269, allocations: 144.5 kB / 288.1 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.127, allocations: 12 kB / 288.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.1276, allocations: 31.97 kB / 288.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1277, allocations: 23.97 kB / 288.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.1278, allocations: 12.38 kB / 288.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.1283, allocations: 275.2 kB / 288.4 MB, free: 10.53 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1283, allocations: 0 / 288.4 MB, free: 10.53 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008/0.1291, allocations: 116 kB / 288.5 MB, free: 10.41 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.0001989/0.1293, allocations: 115.2 kB / 288.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1308, allocations: 0.5089 MB / 289.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1308, allocations: 0 / 289.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009507/0.1318, allocations: 397.7 kB / 289.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.1324, allocations: 59.61 kB / 289.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1351, allocations: 1.202 MB / 290.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1357, allocations: 0.847 MB / 291.6 MB, free: 7.172 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1359, allocations: 39.42 kB / 291.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1359, allocations: 0 / 291.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of Templates: time 0.2227/0.3586, allocations: 8.526 MB / 300.2 MB, free: 29.42 MB / 250.7 MB