Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.364e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5557, allocations: 89.37 MB / 406.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.556, allocations: 78.45 kB / 406.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7835/1.34, allocations: 156.3 MB / 0.5496 GB, free: 97.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.34, allocations: 4 kB / 0.5496 GB, free: 97.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002451/1.34, allocations: 100 kB / 0.5497 GB, free: 97.33 MB / 426.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.02014/1.36, allocations: 4.222 MB / 0.5538 GB, free: 95.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.36, allocations: 11.09 kB / 0.5539 GB, free: 95.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0027/1.363, allocations: 0.6714 MB / 0.5545 GB, free: 95.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.377, allocations: 1.691 MB / 0.5562 GB, free: 95.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/1.385, allocations: 2.687 MB / 0.5588 GB, free: 95.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005988/1.386, allocations: 355 kB / 0.5591 GB, free: 95.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/1.388, allocations: 447.2 kB / 0.5596 GB, free: 95.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/1.411, allocations: 7.413 MB / 0.5668 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/1.412, allocations: 4 kB / 0.5668 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001733/1.413, allocations: 189.3 kB / 0.567 GB, free: 93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004447/1.414, allocations: 304.8 kB / 0.5673 GB, free: 92.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/1.432, allocations: 6.036 MB / 0.5732 GB, free: 90.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05564/1.487, allocations: 23.24 MB / 0.5959 GB, free: 76.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.498, allocations: 6.42 MB / 0.6021 GB, free: 70.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/1.505, allocations: 3.28 MB / 0.6053 GB, free: 67.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02771/1.533, allocations: 10.82 MB / 0.6159 GB, free: 57.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.533, allocations: 56.5 kB / 0.616 GB, free: 57.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=319): time 7.815e-06/1.533, allocations: 0 / 0.616 GB, free: 57.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=319): time 0.01264/1.546, allocations: 5.169 MB / 0.621 GB, free: 52.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.546, allocations: 77.41 kB / 0.6211 GB, free: 52.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/1.548, allocations: 1.056 MB / 0.6221 GB, free: 50.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006483/1.548, allocations: 61.7 kB / 0.6222 GB, free: 50.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009303/1.549, allocations: 1.678 MB / 0.6238 GB, free: 49.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/1.551, allocations: 1.054 MB / 0.6248 GB, free: 48.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/1.551, allocations: 56 kB / 0.6249 GB, free: 48.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004252/1.552, allocations: 0.4983 MB / 0.6254 GB, free: 47.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005099/1.557, allocations: 2.189 MB / 0.6275 GB, free: 45.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/1.563, allocations: 2.868 MB / 0.6303 GB, free: 42.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/1.569, allocations: 2.69 MB / 0.6329 GB, free: 39.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/1.569, allocations: 4 kB / 0.6329 GB, free: 39.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01409/1.583, allocations: 6.196 MB / 0.639 GB, free: 33.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/1.583, allocations: 16.03 kB / 0.639 GB, free: 33.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/1.583, allocations: 20 kB / 0.639 GB, free: 33.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/1.587, allocations: 1.411 MB / 0.6404 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004011/1.591, allocations: 0.5225 MB / 0.6409 GB, free: 31.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/1.598, allocations: 5.156 MB / 0.6459 GB, free: 26.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.601, allocations: 376.4 kB / 0.6463 GB, free: 25.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/1.602, allocations: 140.1 kB / 0.6464 GB, free: 25.57 MB / 426.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.0008121/1.603, allocations: 252.2 kB / 0.6467 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/1.603, allocations: 177.7 kB / 0.6469 GB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.616, allocations: 5.583 MB / 0.6523 GB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01187/1.628, allocations: 5.131 MB / 0.6573 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.628, allocations: 4 kB / 0.6573 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.628, allocations: 11.95 kB / 0.6573 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.656, allocations: 11.12 MB / 0.6682 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/1.656, allocations: 0 / 0.6682 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.659, allocations: 275.6 kB / 0.6685 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.663, allocations: 1.388 MB / 0.6698 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006737/1.663, allocations: 63.97 kB / 0.6699 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2987/1.962, allocations: 5.114 MB / 0.6749 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.962, allocations: 4.281 kB / 0.6749 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02533/1.988, allocations: 8.501 MB / 0.6832 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/1.991, allocations: 0.7319 MB / 0.6839 GB, free: 92.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007668/1.992, allocations: 37.61 kB / 0.6839 GB, free: 92.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.994, allocations: 91.53 kB / 0.684 GB, free: 92.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/1.995, allocations: 244.4 kB / 0.6842 GB, free: 92.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004339/1.996, allocations: 83.33 kB / 0.6843 GB, free: 92.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002111/1.998, allocations: 0.7763 MB / 0.6851 GB, free: 92.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.998, allocations: 0 / 0.6851 GB, free: 92.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005611/2.004, allocations: 1.085 MB / 0.6861 GB, free: 92.46 MB / 426.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.02508/2.029, allocations: 9.168 MB / 0.6951 GB, free: 91.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01557/2.044, allocations: 5.067 MB / 0.7 GB, free: 91.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.044, allocations: 2.75 kB / 0.7 GB, free: 91.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007867/2.052, allocations: 2.438 MB / 0.7024 GB, free: 91.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003784/2.056, allocations: 306.7 kB / 0.7027 GB, free: 91.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/2.085, allocations: 9.628 MB / 0.7121 GB, free: 87.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/2.089, allocations: 3.324 MB / 0.7154 GB, free: 86.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00284/2.092, allocations: 0.5995 MB / 0.7159 GB, free: 86.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/2.095, allocations: 1.313 MB / 0.7172 GB, free: 85.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/2.095, allocations: 0 / 0.7172 GB, free: 85.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/2.243, allocations: 72.09 MB / 0.7876 GB, free: 37.09 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/2.243, allocations: 203.1 kB / 0.7878 GB, free: 36.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.039/6.282, allocations: 0 / 0.7878 GB, free: 36.87 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat