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_trunk_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.914e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005134/0.1149, allocations: 3.191 MB / 348.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1172, allocations: 0.7871 MB / 349 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.1177, allocations: 12 kB / 349 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.1179, allocations: 63.45 kB / 349 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.1185, allocations: 191.4 kB / 349.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1189, allocations: 95.89 kB / 349.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.1197, allocations: 355.6 kB / 349.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.12, allocations: 108.6 kB / 349.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.1204, allocations: 191.5 kB / 349.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.1208, allocations: 231.1 kB / 350.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.121, allocations: 28 kB / 350.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.1211, allocations: 24 kB / 350.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1212, allocations: 99.58 kB / 350.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1214, allocations: 52 kB / 350.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.122, allocations: 466.8 kB / 350.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1221, allocations: 4 kB / 350.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1221, allocations: 3.938 kB / 350.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1221, allocations: 0 / 350.8 MB, free: 3.066 MB / 282.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.001768/0.1239, allocations: 0.733 MB / 351.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.124, allocations: 8.031 kB / 351.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1242, allocations: 71.2 kB / 351.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.1248, allocations: 354.6 kB / 352 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.1249, allocations: 37 kB / 352 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.125, allocations: 48 kB / 352.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.1263, allocations: 475.2 kB / 352.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1264, allocations: 3.938 kB / 352.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.1264, allocations: 20 kB / 352.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1265, allocations: 12 kB / 352.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1275, allocations: 336.3 kB / 352.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.1319, allocations: 1.713 MB / 354.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.1328, allocations: 269.1 kB / 354.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.1328, allocations: 4 kB / 354.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1329, allocations: 34.56 kB / 354.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.587e-06/0.1329, allocations: 0 / 354.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002986/0.1359, allocations: 0.9657 MB / 355.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.136, allocations: 85.11 kB / 356 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.1367, allocations: 340.7 kB / 356.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.1367, allocations: 33.7 kB / 356.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.137, allocations: 333.9 kB / 356.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1371, allocations: 114.4 kB / 356.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1372, allocations: 8 kB / 356.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1373, allocations: 326.8 kB / 357.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.1377, allocations: 108.8 kB / 357.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.1382, allocations: 194.8 kB / 357.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1386, allocations: 131.8 kB / 357.5 MB, free: 12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1386, allocations: 3.938 kB / 357.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00136/0.14, allocations: 432 kB / 357.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.1401, allocations: 4 kB / 358 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1401, allocations: 7.938 kB / 358 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.1407, allocations: 85.97 kB / 358 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.1413, allocations: 75.91 kB / 358.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.1448, allocations: 2.877 MB / 361 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.1454, allocations: 27.89 kB / 361 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.1455, allocations: 16 kB / 361 MB, free: 8.199 MB / 298.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.0002992/0.1458, allocations: 161.7 kB / 361.2 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1459, allocations: 43.91 kB / 361.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.1461, allocations: 43.47 kB / 361.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.1461, allocations: 4 kB / 361.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1461, allocations: 4 kB / 361.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.1461, allocations: 15.94 kB / 361.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1483, allocations: 0.9323 MB / 362.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1484, allocations: 0 / 362.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.1488, allocations: 47.91 kB / 362.3 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/0.1493, allocations: 89.55 kB / 362.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1493, allocations: 4 kB / 362.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.1527, allocations: 2.869 MB / 365.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1527, allocations: 0 / 365.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.1543, allocations: 0.6447 MB / 365.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.1546, allocations: 120.6 kB / 366 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.1547, allocations: 4 kB / 366 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.1553, allocations: 35.98 kB / 366 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1554, allocations: 35.84 kB / 366.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.1554, allocations: 8 kB / 366.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004491/0.1559, allocations: 275.2 kB / 366.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1559, allocations: 0 / 366.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008837/0.1568, allocations: 116 kB / 366.5 MB, free: 2.371 MB / 298.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.0001968/0.157, allocations: 107.2 kB / 366.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1585, allocations: 0.5208 MB / 367.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.1586, allocations: 0 / 367.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.1595, allocations: 401.6 kB / 367.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.1602, allocations: 53.48 kB / 367.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.1629, allocations: 1.186 MB / 368.7 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.1635, allocations: 0.8509 MB / 369.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.1637, allocations: 35.42 kB / 369.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1638, allocations: 0 / 369.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.01766/0.1814, allocations: 8.528 MB / 378.1 MB, free: 6.574 MB / 314.7 MB