Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.508e-05, allocations: 4 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5246/0.662, allocations: 96.38 MB / 439.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.6624, allocations: 88.94 kB / 439.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706/2.368, allocations: 315 MB / 0.7369 GB, free: 79.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/2.368, allocations: 0 / 0.7369 GB, free: 79.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007557/2.369, allocations: 182.7 kB / 0.7371 GB, free: 79.86 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.0679/2.437, allocations: 9.572 MB / 0.7464 GB, free: 77.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/2.437, allocations: 12.28 kB / 0.7465 GB, free: 77.39 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006558/2.444, allocations: 1.295 MB / 0.7477 GB, free: 77.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04642/2.49, allocations: 5.535 MB / 0.7531 GB, free: 76.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/2.512, allocations: 6.313 MB / 0.7593 GB, free: 75.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008299/2.513, allocations: 0.6126 MB / 0.7599 GB, free: 75.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004201/2.517, allocations: 0.8029 MB / 0.7607 GB, free: 75.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05937/2.577, allocations: 15.44 MB / 0.7758 GB, free: 73.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004964/2.577, allocations: 7.781 kB / 0.7758 GB, free: 73.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004647/2.582, allocations: 360.6 kB / 0.7761 GB, free: 73.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001736/2.584, allocations: 0.8315 MB / 0.7769 GB, free: 73.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06066/2.644, allocations: 14.25 MB / 0.7908 GB, free: 67.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1914/2.836, allocations: 47.7 MB / 0.8374 GB, free: 26.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03571/2.872, allocations: 19.16 MB / 0.8561 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009222/2.881, allocations: 3.5 MB / 0.8595 GB, free: 1.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/2.882, allocations: 182.4 kB / 0.8597 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/2.882, allocations: 86.55 kB / 0.8598 GB, free: 1.473 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 7.404e-06/2.882, allocations: 4 kB / 0.8598 GB, free: 1.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.3543/3.236, allocations: 7.128 MB / 0.8668 GB, free: 74.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/3.236, allocations: 136.8 kB / 0.8669 GB, free: 74.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009882/3.246, allocations: 3.424 MB / 0.8702 GB, free: 74.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001036/3.247, allocations: 101.4 kB / 0.8703 GB, free: 74.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003789/3.251, allocations: 3.894 MB / 0.8741 GB, free: 72.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00262/3.254, allocations: 1.613 MB / 0.8757 GB, free: 71.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/3.255, allocations: 146.7 kB / 0.8759 GB, free: 71.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001052/3.256, allocations: 0.612 MB / 0.8765 GB, free: 71.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/3.267, allocations: 3.585 MB / 0.88 GB, free: 71.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/3.279, allocations: 6.35 MB / 0.8862 GB, free: 67.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/3.291, allocations: 5.159 MB / 0.8912 GB, free: 67.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/3.291, allocations: 28.22 kB / 0.8912 GB, free: 67.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03304/3.324, allocations: 11.48 MB / 0.9024 GB, free: 67.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/3.324, allocations: 45.03 kB / 0.9025 GB, free: 67.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/3.324, allocations: 92.5 kB / 0.9026 GB, free: 67.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008258/3.333, allocations: 1.613 MB / 0.9041 GB, free: 67.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/3.347, allocations: 1.66 MB / 0.9058 GB, free: 67.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03641/3.383, allocations: 16.16 MB / 0.9215 GB, free: 58.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/3.395, allocations: 0.9446 MB / 0.9225 GB, free: 58.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/3.397, allocations: 363 kB / 0.9228 GB, free: 58.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002169/3.4, allocations: 0.5641 MB / 0.9234 GB, free: 58.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/3.401, allocations: 389.9 kB / 0.9237 GB, free: 58.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02952/3.431, allocations: 8.446 MB / 0.932 GB, free: 56.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/3.431, allocations: 49.03 kB / 0.932 GB, free: 56.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.194e-05/3.431, allocations: 14.41 kB / 0.932 GB, free: 56.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/3.431, allocations: 27.67 kB / 0.9321 GB, free: 56.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04982/3.481, allocations: 16.77 MB / 0.9484 GB, free: 50.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/3.481, allocations: 3.938 kB / 0.9484 GB, free: 50.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007455/3.488, allocations: 0.8582 MB / 0.9493 GB, free: 50.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008296/3.497, allocations: 1.489 MB / 0.9507 GB, free: 49.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/3.498, allocations: 100.5 kB / 0.9508 GB, free: 49.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02612/3.524, allocations: 15.96 MB / 0.9664 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/3.524, allocations: 3.906 kB / 0.9664 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03212/3.556, allocations: 12.22 MB / 0.9784 GB, free: 32.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/3.56, allocations: 1.116 MB / 0.9795 GB, free: 31.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001715/3.562, allocations: 94.08 kB / 0.9795 GB, free: 31.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00579/3.568, allocations: 305.9 kB / 0.9798 GB, free: 30.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001643/3.57, allocations: 328.7 kB / 0.9801 GB, free: 30.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007147/3.57, allocations: 133.7 kB / 0.9803 GB, free: 30.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006131/3.577, allocations: 2.518 MB / 0.9827 GB, free: 28.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.577, allocations: 0 / 0.9827 GB, free: 28.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01138/3.588, allocations: 2.383 MB / 0.9851 GB, free: 26.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03349/3.621, allocations: 13.51 MB / 0.9983 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02304/3.645, allocations: 8.957 MB / 1.007 GB, free: 6.086 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/3.645, allocations: 3.656 kB / 1.007 GB, free: 6.086 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01185/3.657, allocations: 4.306 MB / 1.011 GB, free: 2.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/3.663, allocations: 0.6299 MB / 1.012 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05838/3.721, allocations: 16.98 MB / 1.028 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3678/4.089, allocations: 6.868 MB / 1.035 GB, free: 79.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01722/4.106, allocations: 3.294 MB / 1.038 GB, free: 79.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008922/4.115, allocations: 3.005 MB / 1.041 GB, free: 79.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/4.115, allocations: 0 / 1.041 GB, free: 79.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/4.415, allocations: 122.6 MB / 1.161 GB, free: 26.45 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/4.415, allocations: 228.3 kB / 1.161 GB, free: 26.21 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.035/10.45, allocations: 0 / 1.161 GB, free: 26.21 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat