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 0.9575/0.9575, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.726e-05, allocations: 4 kB / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 25.15 MB / 176.5 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05634/0.2374, allocations: 36.91 MB / 213.5 MB, free: 12.56 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.2377, allocations: 59.97 kB / 213.5 MB, free: 12.5 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03166/0.2694, allocations: 7.991 MB / 221.5 MB, free: 4.484 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.018e-06/0.2694, allocations: 3.938 kB / 221.5 MB, free: 4.48 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.271e-05/0.2694, allocations: 12 kB / 221.5 MB, free: 4.469 MB / 186.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.001331/0.2708, allocations: 0.7088 MB / 222.2 MB, free: 3.715 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2708, allocations: 12.03 kB / 222.2 MB, free: 3.703 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.271, allocations: 67.23 kB / 222.3 MB, free: 3.637 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.2716, allocations: 351.4 kB / 222.7 MB, free: 3.254 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.2717, allocations: 37 kB / 222.7 MB, free: 3.219 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.2718, allocations: 48 kB / 222.7 MB, free: 3.172 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2729, allocations: 449 kB / 223.2 MB, free: 2.715 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2729, allocations: 4 kB / 223.2 MB, free: 2.711 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.273, allocations: 24 kB / 223.2 MB, free: 2.688 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.273, allocations: 12 kB / 223.2 MB, free: 2.676 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.2738, allocations: 285.9 kB / 223.5 MB, free: 2.398 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.2777, allocations: 1.693 MB / 225.2 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.2782, allocations: 237.1 kB / 225.4 MB, free: 360 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.2785, allocations: 121.7 kB / 225.5 MB, free: 232 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2786, allocations: 8.219 kB / 225.5 MB, free: 224 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.2786, allocations: 42.8 kB / 225.6 MB, free: 172 kB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 3.723e-06/0.2787, allocations: 3.938 kB / 225.6 MB, free: 168 kB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.001898/0.2806, allocations: 0.7423 MB / 226.3 MB, free: 15.36 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.2806, allocations: 81.11 kB / 226.4 MB, free: 15.27 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.2812, allocations: 343.5 kB / 226.7 MB, free: 14.92 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.2813, allocations: 29.7 kB / 226.8 MB, free: 14.88 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.2816, allocations: 334 kB / 227.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.2817, allocations: 114.3 kB / 227.2 MB, free: 14.44 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.2817, allocations: 4 kB / 227.2 MB, free: 14.43 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2819, allocations: 326.8 kB / 227.5 MB, free: 14.11 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2822, allocations: 84.88 kB / 227.6 MB, free: 14.02 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.2825, allocations: 170 kB / 227.8 MB, free: 13.82 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2829, allocations: 105 kB / 227.9 MB, free: 13.72 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-06/0.2829, allocations: 0 / 227.9 MB, free: 13.72 MB / 202.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001017/0.2839, allocations: 388.5 kB / 228.3 MB, free: 13.33 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2839, allocations: 4 kB / 228.3 MB, free: 13.33 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.284, allocations: 4 kB / 228.3 MB, free: 13.32 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.2844, allocations: 73.98 kB / 228.3 MB, free: 13.25 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.2848, allocations: 75.91 kB / 228.4 MB, free: 13.17 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.2882, allocations: 2.839 MB / 231.3 MB, free: 10.07 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.2886, allocations: 23.95 kB / 231.3 MB, free: 10.05 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.2887, allocations: 16 kB / 231.3 MB, free: 10.03 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" ) "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.0002295/0.2889, allocations: 133.5 kB / 231.4 MB, free: 9.895 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2891, allocations: 43.48 kB / 231.5 MB, free: 9.852 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.2892, allocations: 47.28 kB / 231.5 MB, free: 9.805 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.605e-06/0.2892, allocations: 7.984 kB / 231.5 MB, free: 9.797 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2892, allocations: 4 kB / 231.5 MB, free: 9.793 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2892, allocations: 192 / 231.5 MB, free: 9.793 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.2911, allocations: 0.901 MB / 232.4 MB, free: 8.828 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-06/0.2912, allocations: 0 / 232.4 MB, free: 8.828 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.2914, allocations: 47.91 kB / 232.5 MB, free: 8.781 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.2918, allocations: 69.66 kB / 232.5 MB, free: 8.707 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2919, allocations: 12 kB / 232.6 MB, free: 8.695 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/0.2952, allocations: 2.826 MB / 235.4 MB, free: 5.605 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.103e-06/0.2952, allocations: 7.969 kB / 235.4 MB, free: 5.598 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2964, allocations: 0.5663 MB / 236 MB, free: 5.004 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.2967, allocations: 144.6 kB / 236.1 MB, free: 4.844 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.2967, allocations: 12 kB / 236.1 MB, free: 4.832 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.2972, allocations: 31.98 kB / 236.1 MB, free: 4.801 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.2973, allocations: 20.06 kB / 236.2 MB, free: 4.781 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.2974, allocations: 15.98 kB / 236.2 MB, free: 4.766 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004253/0.2978, allocations: 262.2 kB / 236.4 MB, free: 4.516 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.2978, allocations: 4 kB / 236.4 MB, free: 4.512 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007977/0.2986, allocations: 116 kB / 236.5 MB, free: 4.398 MB / 202.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.0001948/0.2988, allocations: 123.1 kB / 236.7 MB, free: 4.266 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.2998, allocations: 471.5 kB / 237.1 MB, free: 3.785 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.392e-06/0.2999, allocations: 0 / 237.1 MB, free: 3.785 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.3006, allocations: 359.3 kB / 237.5 MB, free: 3.414 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.3013, allocations: 89.7 kB / 237.6 MB, free: 3.328 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3029, allocations: 0.7192 MB / 238.3 MB, free: 2.574 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.3035, allocations: 0.8464 MB / 239.1 MB, free: 1.699 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.3037, allocations: 35.42 kB / 239.2 MB, free: 1.664 MB / 202.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3037, allocations: 0 / 239.2 MB, free: 1.664 MB / 202.7 MB Notification: Performance of Templates: time 0.01399/0.3177, allocations: 8.538 MB / 247.7 MB, free: 9.133 MB / 218.7 MB