Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.846e-05, allocations: 0 / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09818, allocations: 44.51 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.5093, allocations: 85.02 MB / 385 MB, free: 16.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5096, allocations: 85.38 kB / 385 MB, free: 16.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7889/1.299, allocations: 157.2 MB / 0.5295 GB, free: 77.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.299, allocations: 0 / 0.5295 GB, free: 77.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002723/1.299, allocations: 103.6 kB / 0.5296 GB, free: 77.8 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.02109/1.32, allocations: 4.218 MB / 0.5337 GB, free: 76.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.32, allocations: 9.875 kB / 0.5338 GB, free: 76.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002886/1.323, allocations: 0.68 MB / 0.5344 GB, free: 76.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/1.345, allocations: 1.693 MB / 0.5361 GB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.357, allocations: 2.68 MB / 0.5387 GB, free: 75.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008345/1.357, allocations: 349.6 kB / 0.539 GB, free: 75.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/1.36, allocations: 444.5 kB / 0.5395 GB, free: 75.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/1.39, allocations: 7.471 MB / 0.5467 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.391, allocations: 3.125 kB / 0.5467 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/1.392, allocations: 191.8 kB / 0.5469 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005064/1.393, allocations: 305.4 kB / 0.5472 GB, free: 75.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/1.414, allocations: 6.091 MB / 0.5532 GB, free: 75.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05871/1.472, allocations: 23.25 MB / 0.5759 GB, free: 69.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/1.483, allocations: 6.43 MB / 0.5822 GB, free: 65.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007084/1.49, allocations: 3.277 MB / 0.5854 GB, free: 63.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0271/1.517, allocations: 10.82 MB / 0.5959 GB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.518, allocations: 59.25 kB / 0.596 GB, free: 57.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 7.404e-06/1.518, allocations: 0 / 0.596 GB, free: 57.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.01368/1.531, allocations: 5.172 MB / 0.601 GB, free: 55.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.531, allocations: 71.25 kB / 0.6011 GB, free: 55.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.534, allocations: 1.058 MB / 0.6021 GB, free: 55.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006758/1.534, allocations: 62.86 kB / 0.6022 GB, free: 55.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/1.535, allocations: 1.701 MB / 0.6038 GB, free: 53.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.537, allocations: 1.057 MB / 0.6049 GB, free: 53.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/1.537, allocations: 59.31 kB / 0.6049 GB, free: 52.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003481/1.538, allocations: 459.7 kB / 0.6054 GB, free: 52.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004991/1.543, allocations: 2.183 MB / 0.6075 GB, free: 51.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005724/1.549, allocations: 2.89 MB / 0.6103 GB, free: 50.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005919/1.554, allocations: 2.691 MB / 0.613 GB, free: 48.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/1.555, allocations: 7.094 kB / 0.613 GB, free: 48.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01469/1.569, allocations: 6.195 MB / 0.619 GB, free: 44.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/1.569, allocations: 17.88 kB / 0.619 GB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.489e-05/1.569, allocations: 22.84 kB / 0.6191 GB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/1.573, allocations: 1.408 MB / 0.6204 GB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/1.577, allocations: 0.5167 MB / 0.6209 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/1.584, allocations: 5.159 MB / 0.626 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.587, allocations: 381 kB / 0.6263 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/1.588, allocations: 139.1 kB / 0.6265 GB, free: 37.25 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.0007594/1.589, allocations: 261.7 kB / 0.6267 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/1.589, allocations: 173.7 kB / 0.6269 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.603, allocations: 5.581 MB / 0.6323 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01204/1.615, allocations: 5.142 MB / 0.6374 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.615, allocations: 0 / 0.6374 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/1.615, allocations: 12.47 kB / 0.6374 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.646, allocations: 11.12 MB / 0.6482 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-05/1.646, allocations: 0 / 0.6482 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/1.648, allocations: 281.4 kB / 0.6485 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/1.652, allocations: 1.383 MB / 0.6498 GB, free: 16.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008593/1.653, allocations: 67.16 kB / 0.6499 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007609/1.661, allocations: 5.124 MB / 0.6549 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.661, allocations: 2.344 kB / 0.6549 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/1.683, allocations: 8.51 MB / 0.6632 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/1.686, allocations: 0.7242 MB / 0.6639 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.688, allocations: 40 kB / 0.664 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.69, allocations: 89.38 kB / 0.6641 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/1.691, allocations: 241.6 kB / 0.6643 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000404/1.692, allocations: 85.33 kB / 0.6644 GB, free: 3.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001585/1.694, allocations: 0.7767 MB / 0.6651 GB, free: 2.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.694, allocations: 0 / 0.6651 GB, free: 2.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00501/1.699, allocations: 1.076 MB / 0.6662 GB, free: 1.723 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.326/2.025, allocations: 9.227 MB / 0.6752 GB, free: 73.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0146/2.039, allocations: 5.114 MB / 0.6802 GB, free: 73.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.039, allocations: 0 / 0.6802 GB, free: 73.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006657/2.046, allocations: 2.45 MB / 0.6826 GB, free: 73.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/2.049, allocations: 316.2 kB / 0.6829 GB, free: 73.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/2.081, allocations: 9.399 MB / 0.6921 GB, free: 72.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008286/2.089, allocations: 3.244 MB / 0.6952 GB, free: 87.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004309/2.094, allocations: 1.336 MB / 0.6965 GB, free: 87.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/2.094, allocations: 0 / 0.6965 GB, free: 87.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.947/6.041, allocations: 167.3 MB / 0.8599 GB, free: 88.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat