Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.097/1.097, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.699e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05333/0.05338, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005199/0.05864, allocations: 3.163 MB / 182.9 MB, free: 6.445 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.06081, allocations: 0.7137 MB / 183.6 MB, free: 5.73 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.06134, allocations: 12 kB / 183.6 MB, free: 5.719 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.06154, allocations: 67.48 kB / 183.6 MB, free: 5.652 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.06221, allocations: 203.3 kB / 183.8 MB, free: 5.453 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.06266, allocations: 103.9 kB / 183.9 MB, free: 5.352 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.06352, allocations: 355.6 kB / 184.3 MB, free: 5.004 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.06384, allocations: 108.9 kB / 184.4 MB, free: 4.895 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.06425, allocations: 191.5 kB / 184.6 MB, free: 4.707 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.06471, allocations: 227.2 kB / 184.8 MB, free: 4.484 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.06485, allocations: 24 kB / 184.8 MB, free: 4.461 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.75e-05/0.06494, allocations: 24 kB / 184.9 MB, free: 4.438 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.06507, allocations: 91.59 kB / 184.9 MB, free: 4.348 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.06525, allocations: 56 kB / 185 MB, free: 4.293 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.06596, allocations: 462.9 kB / 185.4 MB, free: 3.84 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.06599, allocations: 0 / 185.4 MB, free: 3.84 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.066, allocations: 3.938 kB / 185.5 MB, free: 3.836 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.06603, allocations: 4 kB / 185.5 MB, free: 3.832 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001906/0.06795, allocations: 0.7407 MB / 186.2 MB, free: 3.043 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.06801, allocations: 8.031 kB / 186.2 MB, free: 3.035 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.0682, allocations: 59.34 kB / 186.3 MB, free: 2.977 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.06891, allocations: 358.5 kB / 186.6 MB, free: 2.582 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.06898, allocations: 37 kB / 186.6 MB, free: 2.547 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.0691, allocations: 48 kB / 186.7 MB, free: 2.5 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.07035, allocations: 474.9 kB / 187.2 MB, free: 2.02 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.07038, allocations: 0 / 187.2 MB, free: 2.02 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.07046, allocations: 20 kB / 187.2 MB, free: 2 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.07049, allocations: 15.95 kB / 187.2 MB, free: 1.984 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.07155, allocations: 339.8 kB / 187.5 MB, free: 1.648 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.07602, allocations: 1.689 MB / 189.2 MB, free: 15.86 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.07682, allocations: 261 kB / 189.5 MB, free: 15.59 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.07689, allocations: 4 kB / 189.5 MB, free: 15.58 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.07694, allocations: 42.56 kB / 189.5 MB, free: 15.53 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 3.297e-06/0.07696, allocations: 0 / 189.5 MB, free: 15.53 MB / 170.7 MB Notification: Performance of matching and sorting (n=31): time 0.003018/0.07998, allocations: 0.9487 MB / 190.5 MB, free: 14.5 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.08011, allocations: 89.06 kB / 190.6 MB, free: 14.4 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.08078, allocations: 348.8 kB / 190.9 MB, free: 14.05 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.08086, allocations: 33.7 kB / 190.9 MB, free: 14.01 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.08112, allocations: 329.8 kB / 191.2 MB, free: 13.69 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.08126, allocations: 106.4 kB / 191.4 MB, free: 13.59 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.0813, allocations: 12 kB / 191.4 MB, free: 13.57 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.08145, allocations: 326.8 kB / 191.7 MB, free: 13.25 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.08184, allocations: 96.83 kB / 191.8 MB, free: 13.15 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.0823, allocations: 190.8 kB / 192 MB, free: 12.93 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.08276, allocations: 131 kB / 192.1 MB, free: 12.8 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.08278, allocations: 4 kB / 192.1 MB, free: 12.8 MB / 170.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0013/0.08409, allocations: 414.9 kB / 192.5 MB, free: 12.38 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.08415, allocations: 8 kB / 192.5 MB, free: 12.38 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.08417, allocations: 4 kB / 192.5 MB, free: 12.37 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.08468, allocations: 73.66 kB / 192.6 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.0853, allocations: 79.88 kB / 192.7 MB, free: 12.21 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.08901, allocations: 2.854 MB / 195.5 MB, free: 9.094 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.08962, allocations: 27.83 kB / 195.5 MB, free: 9.066 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.08968, allocations: 16 kB / 195.6 MB, free: 9.051 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the left port" type: Real 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 (44): * Single equations (assignments): 42 * 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.0004096/0.0901, allocations: 167.3 kB / 195.7 MB, free: 8.879 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.09025, allocations: 39.59 kB / 195.8 MB, free: 8.84 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.09036, allocations: 47.52 kB / 195.8 MB, free: 8.793 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.09038, allocations: 4.375 kB / 195.8 MB, free: 8.789 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.0904, allocations: 0 / 195.8 MB, free: 8.789 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.09042, allocations: 3.953 kB / 195.8 MB, free: 8.785 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.09264, allocations: 0.9464 MB / 196.8 MB, free: 7.777 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.09269, allocations: 0 / 196.8 MB, free: 7.777 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.09307, allocations: 47.92 kB / 196.8 MB, free: 7.73 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.09347, allocations: 73.64 kB / 196.9 MB, free: 7.652 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.09352, allocations: 4 kB / 196.9 MB, free: 7.648 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.09677, allocations: 2.865 MB / 199.7 MB, free: 4.52 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.09682, allocations: 0 / 199.7 MB, free: 4.52 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.09833, allocations: 0.6152 MB / 200.4 MB, free: 3.875 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.09859, allocations: 132.6 kB / 200.5 MB, free: 3.727 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.0987, allocations: 8 kB / 200.5 MB, free: 3.719 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/0.09928, allocations: 35.98 kB / 200.5 MB, free: 3.684 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.0994, allocations: 31.84 kB / 200.6 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.09945, allocations: 8 kB / 200.6 MB, free: 3.645 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0004567/0.09991, allocations: 275.2 kB / 200.8 MB, free: 3.375 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.09993, allocations: 4 kB / 200.8 MB, free: 3.371 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0008109/0.1007, allocations: 116 kB / 201 MB, free: 3.258 MB / 170.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 (25): * Single equations (assignments): 23 * 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.0001799/0.1009, allocations: 111.2 kB / 201.1 MB, free: 3.141 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.1023, allocations: 0.5166 MB / 201.6 MB, free: 2.594 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1023, allocations: 3.938 kB / 201.6 MB, free: 2.59 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009367/0.1033, allocations: 401.7 kB / 202 MB, free: 2.172 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.1043, allocations: 89.42 kB / 202.1 MB, free: 2.086 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.107, allocations: 1.166 MB / 203.2 MB, free: 0.8867 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.1077, allocations: 0.8541 MB / 204.1 MB, free: 4 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1389/0.2466, allocations: 30.89 kB / 204.1 MB, free: 22.43 MB / 170.7 MB Notification: Performance of SimCode: time 2.344e-06/0.2467, allocations: 0 / 204.1 MB, free: 22.43 MB / 170.7 MB Notification: Performance of Templates: time 0.01683/0.2635, allocations: 8.543 MB / 212.7 MB, free: 19.64 MB / 170.7 MB