Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.152e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09094, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.53, allocations: 85.02 MB / 385 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/0.5305, allocations: 83.48 kB / 385.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9004/1.431, allocations: 157.2 MB / 0.5296 GB, free: 79.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.431, allocations: 4 kB / 0.5296 GB, free: 79.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003026/1.431, allocations: 98.89 kB / 0.5297 GB, free: 79.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02597/1.457, allocations: 4.223 MB / 0.5338 GB, free: 77.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.457, allocations: 10.12 kB / 0.5338 GB, free: 77.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003056/1.46, allocations: 0.6822 MB / 0.5345 GB, free: 77.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/1.475, allocations: 1.687 MB / 0.5361 GB, free: 77.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008418/1.483, allocations: 2.684 MB / 0.5387 GB, free: 77.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000649/1.484, allocations: 349.6 kB / 0.5391 GB, free: 77.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/1.486, allocations: 450.7 kB / 0.5395 GB, free: 77.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/1.511, allocations: 7.467 MB / 0.5468 GB, free: 76.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/1.511, allocations: 0 / 0.5468 GB, free: 76.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/1.512, allocations: 194.9 kB / 0.547 GB, free: 76.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003891/1.513, allocations: 302.5 kB / 0.5473 GB, free: 76.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/1.53, allocations: 6.093 MB / 0.5532 GB, free: 76.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/1.589, allocations: 23.25 MB / 0.5759 GB, free: 70.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.6, allocations: 6.429 MB / 0.5822 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007444/1.607, allocations: 3.282 MB / 0.5854 GB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02837/1.635, allocations: 10.81 MB / 0.596 GB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/1.636, allocations: 63.05 kB / 0.596 GB, free: 58.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 8.025e-06/1.636, allocations: 0 / 0.596 GB, free: 58.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.0122/1.648, allocations: 5.168 MB / 0.6011 GB, free: 56.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.648, allocations: 76.34 kB / 0.6011 GB, free: 56.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.65, allocations: 1.055 MB / 0.6022 GB, free: 56.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.651, allocations: 59.77 kB / 0.6022 GB, free: 56.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.652, allocations: 1.688 MB / 0.6039 GB, free: 54.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.654, allocations: 1.054 MB / 0.6049 GB, free: 53.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/1.654, allocations: 54.66 kB / 0.605 GB, free: 53.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004838/1.655, allocations: 0.4983 MB / 0.6054 GB, free: 53.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/1.66, allocations: 2.183 MB / 0.6076 GB, free: 52.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/1.666, allocations: 2.893 MB / 0.6104 GB, free: 50.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/1.673, allocations: 2.682 MB / 0.613 GB, free: 48.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/1.673, allocations: 8 kB / 0.613 GB, free: 48.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01596/1.689, allocations: 6.242 MB / 0.6191 GB, free: 43.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/1.689, allocations: 19.7 kB / 0.6191 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/1.689, allocations: 20.12 kB / 0.6192 GB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004308/1.694, allocations: 1.408 MB / 0.6205 GB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.698, allocations: 0.5115 MB / 0.621 GB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007117/1.705, allocations: 5.163 MB / 0.6261 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/1.709, allocations: 373.8 kB / 0.6264 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008607/1.71, allocations: 148.7 kB / 0.6266 GB, free: 36.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008233/1.711, allocations: 252.4 kB / 0.6268 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/1.711, allocations: 177.7 kB / 0.627 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/1.725, allocations: 5.583 MB / 0.6324 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01174/1.737, allocations: 5.136 MB / 0.6374 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.737, allocations: 0 / 0.6374 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.29e-05/1.737, allocations: 15.62 kB / 0.6375 GB, free: 26.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.763, allocations: 11.12 MB / 0.6483 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/1.763, allocations: 3.609 kB / 0.6483 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/1.765, allocations: 273.7 kB / 0.6486 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.769, allocations: 1.385 MB / 0.6499 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005587/1.769, allocations: 67.25 kB / 0.65 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/1.776, allocations: 5.138 MB / 0.655 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.776, allocations: 0 / 0.655 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.795, allocations: 8.498 MB / 0.6633 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/1.797, allocations: 0.7333 MB / 0.664 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/1.798, allocations: 36 kB / 0.6641 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.8, allocations: 98.66 kB / 0.6642 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008967/1.801, allocations: 242.4 kB / 0.6644 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/1.801, allocations: 83.5 kB / 0.6645 GB, free: 2.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001544/1.803, allocations: 0.7726 MB / 0.6652 GB, free: 1.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.803, allocations: 0.6562 kB / 0.6652 GB, free: 1.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004292/1.807, allocations: 1.077 MB / 0.6663 GB, free: 0.8047 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.3547/2.162, allocations: 9.574 MB / 0.6756 GB, free: 75.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01392/2.176, allocations: 5.114 MB / 0.6806 GB, free: 75.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/2.176, allocations: 2.812 kB / 0.6806 GB, free: 75.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00683/2.183, allocations: 2.453 MB / 0.683 GB, free: 75.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/2.186, allocations: 323.6 kB / 0.6833 GB, free: 75.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/2.215, allocations: 9.605 MB / 0.6927 GB, free: 74.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008791/2.224, allocations: 3.327 MB / 0.696 GB, free: 89.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0045/2.229, allocations: 0.59 MB / 0.6965 GB, free: 89.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004319/2.233, allocations: 1.315 MB / 0.6978 GB, free: 89.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.355e-06/2.233, allocations: 0 / 0.6978 GB, free: 89.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/2.401, allocations: 72.1 MB / 0.7682 GB, free: 61.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/2.402, allocations: 204.3 kB / 0.7684 GB, free: 60.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/6.974, allocations: 8.062 kB / 0.7684 GB, free: 60.96 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat