Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 4 kB / 256.5 MB, free: 1.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09771, allocations: 44.5 MB / 301 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5264/0.6242, allocations: 161.8 MB / 462.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.6246, allocations: 102.5 kB / 462.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488/5.113, allocations: 0.8628 GB / 1.315 GB, free: 13.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/5.113, allocations: 4 kB / 1.315 GB, free: 13.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002446/5.115, allocations: 479.4 kB / 1.315 GB, free: 13.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.9969/6.112, allocations: 19.57 MB / 1.334 GB, free: 14.74 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/6.112, allocations: 10.5 kB / 1.334 GB, free: 14.74 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01612/6.129, allocations: 2.974 MB / 1.337 GB, free: 14.55 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08651/6.215, allocations: 10.32 MB / 1.347 GB, free: 13.43 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05953/6.275, allocations: 15.83 MB / 1.363 GB, free: 12.05 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003101/6.278, allocations: 1.543 MB / 1.364 GB, free: 12 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01171/6.29, allocations: 2.015 MB / 1.366 GB, free: 11.99 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1245/6.414, allocations: 35.51 MB / 1.401 GB, free: 9.625 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001321/6.416, allocations: 41 kB / 1.401 GB, free: 9.613 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0102/6.426, allocations: 0.8625 MB / 1.402 GB, free: 9.613 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/6.428, allocations: 1.388 MB / 1.403 GB, free: 9.566 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1019/6.53, allocations: 32.13 MB / 1.435 GB, free: 1.906 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.309/7.839, allocations: 112.6 MB / 1.545 GB, free: 48.62 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07092/7.91, allocations: 43.98 MB / 1.588 GB, free: 28.9 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04297/7.953, allocations: 16.32 MB / 1.603 GB, free: 28.75 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1508/8.104, allocations: 50.39 MB / 1.653 GB, free: 27.41 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/8.104, allocations: 180.4 kB / 1.653 GB, free: 27.35 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1576): time 3.616e-05/8.104, allocations: 3.281 kB / 1.653 GB, free: 27.35 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1588): time 0.2078/8.312, allocations: 57.18 MB / 1.709 GB, free: 0.6719 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/8.312, allocations: 216 kB / 1.709 GB, free: 452 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/8.332, allocations: 5.951 MB / 1.715 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.003787/8.336, allocations: 245.7 kB / 1.715 GB, free: 11 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.008711/8.345, allocations: 7.349 MB / 1.722 GB, free: 4.5 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.01176/8.356, allocations: 5.271 MB / 1.727 GB, free: 0 / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005876/8.362, allocations: 333 kB / 1.728 GB, free: 0 / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.5128/8.875, allocations: 0.906 MB / 1.728 GB, free: 86.74 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03065/8.906, allocations: 10.16 MB / 1.738 GB, free: 86.71 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03228/8.938, allocations: 12.36 MB / 1.75 GB, free: 84.74 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03401/8.972, allocations: 12.11 MB / 1.762 GB, free: 84.56 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002296/8.973, allocations: 15.78 kB / 1.762 GB, free: 84.56 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.09862/9.071, allocations: 31.26 MB / 1.793 GB, free: 84.01 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/9.071, allocations: 28.09 kB / 1.793 GB, free: 84.01 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/9.072, allocations: 57.33 kB / 1.793 GB, free: 84.01 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04981/9.121, allocations: 14.61 MB / 1.807 GB, free: 83.48 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01834/9.14, allocations: 2.086 MB / 1.809 GB, free: 83.48 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07108/9.211, allocations: 35.63 MB / 1.844 GB, free: 64.26 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01738/9.228, allocations: 0.6252 MB / 1.845 GB, free: 64.06 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005132/9.234, allocations: 0.5209 MB / 1.845 GB, free: 63.95 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.009485/9.243, allocations: 0.7726 MB / 1.846 GB, free: 63.45 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006686/9.25, allocations: 1.007 MB / 1.847 GB, free: 63.45 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1005/9.35, allocations: 31.92 MB / 1.878 GB, free: 44.96 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006429/9.351, allocations: 387.2 kB / 1.878 GB, free: 44.62 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.794e-05/9.351, allocations: 16 kB / 1.878 GB, free: 44.61 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003687/9.352, allocations: 66.56 kB / 1.878 GB, free: 44.61 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7157/10.07, allocations: 60.38 MB / 1.937 GB, free: 74.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002657/10.07, allocations: 3.75 kB / 1.937 GB, free: 74.22 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01549/10.08, allocations: 1.621 MB / 1.939 GB, free: 74.22 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04973/10.13, allocations: 14.81 MB / 1.953 GB, free: 73.68 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004361/10.14, allocations: 337.3 kB / 1.954 GB, free: 73.68 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07957/10.22, allocations: 39.86 MB / 1.993 GB, free: 61.79 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/10.22, allocations: 9.656 kB / 1.993 GB, free: 61.79 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1357/10.35, allocations: 47.39 MB / 2.039 GB, free: 52.64 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/10.37, allocations: 3.488 MB / 2.042 GB, free: 51.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00653/10.37, allocations: 242 kB / 2.043 GB, free: 51.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01625/10.39, allocations: 0.6292 MB / 2.043 GB, free: 50.93 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006508/10.4, allocations: 1.17 MB / 2.044 GB, free: 50.68 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004268/10.4, allocations: 419.6 kB / 2.045 GB, free: 50.58 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.013/10.41, allocations: 4.522 MB / 2.049 GB, free: 48.88 MB / 0.5419 GB Notification: Performance of sort global known variables: time 8.61e-07/10.41, allocations: 0 / 2.049 GB, free: 48.88 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02379/10.44, allocations: 3.901 MB / 2.053 GB, free: 48.47 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.1367/10.57, allocations: 49.41 MB / 2.101 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.6025/11.18, allocations: 29.01 MB / 2.13 GB, free: 88.56 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/11.18, allocations: 2.375 kB / 2.13 GB, free: 88.56 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.05037/11.23, allocations: 14.95 MB / 2.144 GB, free: 87.35 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02252/11.25, allocations: 2.333 MB / 2.147 GB, free: 87.31 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1782/11.43, allocations: 47.28 MB / 2.193 GB, free: 80.88 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03525/11.46, allocations: 13.89 MB / 2.206 GB, free: 79.46 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.02112/11.49, allocations: 3.092 MB / 2.209 GB, free: 79.14 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02092/11.51, allocations: 7.922 MB / 2.217 GB, free: 79.13 MB / 0.5419 GB Notification: Performance of SimCode: time 2.084e-06/11.51, allocations: 1.688 kB / 2.217 GB, free: 79.13 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.983/13.49, allocations: 414.5 MB / 2.622 GB, free: 119.9 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/13.49, allocations: 243.8 kB / 2.622 GB, free: 119.6 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/31.52, allocations: 4 kB / 2.622 GB, free: 119.6 MB / 0.5888 GB