Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.302e-05, allocations: 8 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09724, allocations: 44.5 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5443, allocations: 84.95 MB / 384.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5446, allocations: 82.16 kB / 385 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4877/1.032, allocations: 142 MB / 0.5146 GB, free: 3.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.032, allocations: 4 kB / 0.5146 GB, free: 3.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002506/1.033, allocations: 87.94 kB / 0.5147 GB, free: 3.863 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.3384/1.371, allocations: 3.889 MB / 0.5185 GB, free: 77.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.371, allocations: 9.062 kB / 0.5185 GB, free: 77.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002899/1.374, allocations: 0.6266 MB / 0.5191 GB, free: 77.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.391, allocations: 1.805 MB / 0.5209 GB, free: 77.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008058/1.399, allocations: 2.428 MB / 0.5232 GB, free: 77.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000737/1.4, allocations: 323.8 kB / 0.5235 GB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/1.402, allocations: 422.6 kB / 0.5239 GB, free: 77.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/1.426, allocations: 6.816 MB / 0.5306 GB, free: 76.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/1.427, allocations: 8.141 kB / 0.5306 GB, free: 76.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001764/1.428, allocations: 179.4 kB / 0.5308 GB, free: 76.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/1.429, allocations: 273.9 kB / 0.531 GB, free: 76.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/1.446, allocations: 5.734 MB / 0.5366 GB, free: 76.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05487/1.501, allocations: 21.35 MB / 0.5575 GB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.513, allocations: 7.563 MB / 0.5649 GB, free: 68.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007077/1.52, allocations: 2.931 MB / 0.5677 GB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03056/1.55, allocations: 9.454 MB / 0.577 GB, free: 62.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/1.55, allocations: 55.25 kB / 0.577 GB, free: 62.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 9.568e-06/1.55, allocations: 0 / 0.577 GB, free: 62.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01466/1.565, allocations: 4.253 MB / 0.5812 GB, free: 60.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.565, allocations: 72.94 kB / 0.5812 GB, free: 60.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/1.568, allocations: 1.085 MB / 0.5823 GB, free: 59.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007019/1.569, allocations: 56.73 kB / 0.5824 GB, free: 59.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.571, allocations: 1.672 MB / 0.584 GB, free: 58.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/1.572, allocations: 0.8902 MB / 0.5849 GB, free: 57.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00052/1.573, allocations: 57.12 kB / 0.5849 GB, free: 57.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004816/1.573, allocations: 451.4 kB / 0.5853 GB, free: 57.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006799/1.58, allocations: 1.902 MB / 0.5872 GB, free: 56.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007345/1.588, allocations: 2.68 MB / 0.5898 GB, free: 55.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007459/1.595, allocations: 2.374 MB / 0.5921 GB, free: 54.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/1.595, allocations: 7.281 kB / 0.5921 GB, free: 54.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01844/1.614, allocations: 5.459 MB / 0.5975 GB, free: 52.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/1.614, allocations: 14.12 kB / 0.5975 GB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.594e-05/1.614, allocations: 23.91 kB / 0.5975 GB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/1.617, allocations: 1.059 MB / 0.5985 GB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.621, allocations: 0.5249 MB / 0.5991 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/1.626, allocations: 3.88 MB / 0.6028 GB, free: 49.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.63, allocations: 368.7 kB / 0.6032 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005185/1.63, allocations: 140.2 kB / 0.6033 GB, free: 48.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007247/1.631, allocations: 264.5 kB / 0.6036 GB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/1.632, allocations: 154.8 kB / 0.6037 GB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.642, allocations: 4.612 MB / 0.6082 GB, free: 46.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009018/1.651, allocations: 4.22 MB / 0.6124 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.651, allocations: 0 / 0.6124 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.651, allocations: 11.06 kB / 0.6124 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.673, allocations: 9.496 MB / 0.6216 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.673, allocations: 3.609 kB / 0.6216 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/1.675, allocations: 248 kB / 0.6219 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/1.677, allocations: 1.036 MB / 0.6229 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004613/1.678, allocations: 53.23 kB / 0.6229 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004975/1.683, allocations: 3.833 MB / 0.6267 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.683, allocations: 3.953 kB / 0.6267 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/1.698, allocations: 7.068 MB / 0.6336 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/1.699, allocations: 293.8 kB / 0.6339 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006521/1.699, allocations: 36 kB / 0.6339 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.701, allocations: 80.56 kB / 0.634 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006166/1.701, allocations: 202.7 kB / 0.6342 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.702, allocations: 67.02 kB / 0.6342 GB, free: 23.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001503/1.703, allocations: 0.7907 MB / 0.635 GB, free: 23.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.703, allocations: 2.156 kB / 0.635 GB, free: 23.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003769/1.707, allocations: 0.9871 MB / 0.636 GB, free: 22.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/1.723, allocations: 7.73 MB / 0.6435 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.734, allocations: 4.433 MB / 0.6479 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.734, allocations: 4 kB / 0.6479 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.739, allocations: 2.038 MB / 0.6498 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.741, allocations: 278.8 kB / 0.6501 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.765, allocations: 8.402 MB / 0.6583 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005743/1.771, allocations: 3.049 MB / 0.6613 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003702/1.775, allocations: 1.239 MB / 0.6625 GB, free: 14.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.775, allocations: 0 / 0.6625 GB, free: 14.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.664/5.438, allocations: 128.9 MB / 0.7884 GB, free: 41.71 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.BalancingDelta_res.mat does not exist to compare? outputFormat=mat