Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.226/2.226, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-05/5.132e-05, allocations: 8.219 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 50.42 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5831, allocations: 89.67 MB / 432.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/0.5836, allocations: 81.27 kB / 432.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8334/1.417, allocations: 152.5 MB / 0.5712 GB, free: 104.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.417, allocations: 4.047 kB / 0.5712 GB, free: 104.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003042/1.417, allocations: 95.77 kB / 0.5713 GB, free: 104.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.03817/1.456, allocations: 4.074 MB / 0.5752 GB, free: 102.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/1.456, allocations: 11.28 kB / 0.5753 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003877/1.46, allocations: 0.6391 MB / 0.5759 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/1.474, allocations: 0.966 MB / 0.5768 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.486, allocations: 2.718 MB / 0.5795 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/1.487, allocations: 329 kB / 0.5798 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/1.489, allocations: 422.8 kB / 0.5802 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/1.524, allocations: 6.445 MB / 0.5865 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/1.524, allocations: 0 / 0.5865 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007115/1.531, allocations: 188.3 kB / 0.5867 GB, free: 97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006287/1.532, allocations: 320.5 kB / 0.587 GB, free: 96.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02944/1.561, allocations: 4.58 MB / 0.5914 GB, free: 95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05666/1.618, allocations: 20.73 MB / 0.6117 GB, free: 78.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00933/1.628, allocations: 5.57 MB / 0.6171 GB, free: 72.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/1.629, allocations: 0.7135 MB / 0.6178 GB, free: 71.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.63, allocations: 107.1 kB / 0.6179 GB, free: 71.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.63, allocations: 39.34 kB / 0.618 GB, free: 71.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 4.729e-06/1.63, allocations: 0 / 0.618 GB, free: 71.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002622/1.632, allocations: 1.111 MB / 0.619 GB, free: 70.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.632, allocations: 68.17 kB / 0.6191 GB, free: 70.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/1.635, allocations: 1.293 MB / 0.6204 GB, free: 68.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.635, allocations: 41.7 kB / 0.6204 GB, free: 68.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/1.637, allocations: 1.962 MB / 0.6223 GB, free: 66.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/1.637, allocations: 370 kB / 0.6227 GB, free: 66.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.637, allocations: 47.94 kB / 0.6227 GB, free: 66.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002982/1.638, allocations: 447.3 kB / 0.6232 GB, free: 65.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.64, allocations: 0.8282 MB / 0.624 GB, free: 65.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/1.643, allocations: 1.949 MB / 0.6259 GB, free: 62.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/1.645, allocations: 1.336 MB / 0.6272 GB, free: 61.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/1.645, allocations: 12 kB / 0.6272 GB, free: 61.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.006747/1.652, allocations: 2.723 MB / 0.6298 GB, free: 58.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/1.652, allocations: 27.98 kB / 0.6299 GB, free: 58.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/1.652, allocations: 36 kB / 0.6299 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.564e-05/1.653, allocations: 60 kB / 0.63 GB, free: 58.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/1.656, allocations: 0.5309 MB / 0.6305 GB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.764e-05/1.656, allocations: 79.72 kB / 0.6306 GB, free: 57.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/1.659, allocations: 301 kB / 0.6308 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/1.659, allocations: 124 kB / 0.631 GB, free: 57.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004179/1.66, allocations: 260.6 kB / 0.6312 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/1.66, allocations: 130.4 kB / 0.6313 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/1.663, allocations: 1.434 MB / 0.6327 GB, free: 55.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002098/1.665, allocations: 1.002 MB / 0.6337 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.665, allocations: 0 / 0.6337 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.665, allocations: 7.969 kB / 0.6337 GB, free: 54.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/1.69, allocations: 12 MB / 0.6454 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/1.69, allocations: 20 kB / 0.6455 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.691, allocations: 211.6 kB / 0.6457 GB, free: 41.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.839e-05/1.691, allocations: 28.78 kB / 0.6457 GB, free: 41.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/1.691, allocations: 47.98 kB / 0.6457 GB, free: 41.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-05/1.691, allocations: 43.86 kB / 0.6458 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/1.692, allocations: 27.88 kB / 0.6458 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004866/1.696, allocations: 3.72 MB / 0.6494 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.697, allocations: 339.1 kB / 0.6498 GB, free: 36.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/1.698, allocations: 51.91 kB / 0.6498 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.699, allocations: 63.95 kB / 0.6499 GB, free: 36.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/1.7, allocations: 131.5 kB / 0.65 GB, free: 36.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.7, allocations: 51.98 kB / 0.65 GB, free: 36.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002278/1.702, allocations: 0.9696 MB / 0.651 GB, free: 35.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.702, allocations: 0 / 0.651 GB, free: 35.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004274/1.707, allocations: 0.9583 MB / 0.6519 GB, free: 34.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006685/1.713, allocations: 10.19 MB / 0.6619 GB, free: 23.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004425/1.718, allocations: 1.817 MB / 0.6637 GB, free: 22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-05/1.718, allocations: 0 / 0.6637 GB, free: 22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.719, allocations: 0.6054 MB / 0.6642 GB, free: 21.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.723, allocations: 352.3 kB / 0.6646 GB, free: 21.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.744, allocations: 6.912 MB / 0.6713 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005732/1.749, allocations: 3.141 MB / 0.6744 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003738/1.753, allocations: 0.8249 MB / 0.6752 GB, free: 9.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/1.756, allocations: 1.253 MB / 0.6764 GB, free: 8.566 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/1.756, allocations: 0 / 0.6764 GB, free: 8.566 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/2.179, allocations: 41.67 MB / 0.7171 GB, free: 91.24 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/2.179, allocations: 168.7 kB / 0.7173 GB, free: 91.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/5.684, allocations: 3.156 kB / 0.7173 GB, free: 91.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat