Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.241/2.241, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.439e-05, allocations: 0 / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.602, allocations: 89.67 MB / 432.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6024, allocations: 80.33 kB / 432.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9029/1.505, allocations: 152.5 MB / 0.5717 GB, free: 104.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.505, allocations: 0 / 0.5717 GB, free: 104.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002438/1.506, allocations: 96.88 kB / 0.5718 GB, free: 104.3 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.01853/1.524, allocations: 4.068 MB / 0.5757 GB, free: 102.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.524, allocations: 11.31 kB / 0.5758 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002694/1.527, allocations: 0.6433 MB / 0.5764 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008308/1.535, allocations: 0.9675 MB / 0.5773 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008162/1.544, allocations: 2.717 MB / 0.58 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.544, allocations: 324.4 kB / 0.5803 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/1.546, allocations: 427.5 kB / 0.5807 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.568, allocations: 6.44 MB / 0.587 GB, free: 97.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/1.568, allocations: 7.188 kB / 0.587 GB, free: 97.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.57, allocations: 186.7 kB / 0.5872 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004032/1.57, allocations: 317.5 kB / 0.5875 GB, free: 97.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/1.584, allocations: 4.592 MB / 0.592 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04405/1.629, allocations: 20.73 MB / 0.6122 GB, free: 78.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.639, allocations: 5.559 MB / 0.6176 GB, free: 72.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.641, allocations: 0.7173 MB / 0.6183 GB, free: 71.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/1.642, allocations: 105.3 kB / 0.6184 GB, free: 71.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.642, allocations: 43.34 kB / 0.6185 GB, free: 71.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 5.811e-06/1.642, allocations: 0 / 0.6185 GB, free: 71.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.003421/1.645, allocations: 1.111 MB / 0.6196 GB, free: 70.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.645, allocations: 60.19 kB / 0.6196 GB, free: 70.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/1.649, allocations: 1.3 MB / 0.6209 GB, free: 68.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.649, allocations: 41.7 kB / 0.6209 GB, free: 68.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.651, allocations: 1.957 MB / 0.6228 GB, free: 66.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006421/1.652, allocations: 366.4 kB / 0.6232 GB, free: 66.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/1.652, allocations: 44 kB / 0.6232 GB, free: 66.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004184/1.652, allocations: 455.3 kB / 0.6237 GB, free: 66.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006947/1.659, allocations: 0.8282 MB / 0.6245 GB, free: 65.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/1.663, allocations: 1.945 MB / 0.6264 GB, free: 62.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.674, allocations: 1.339 MB / 0.6277 GB, free: 61.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.095e-05/1.674, allocations: 12 kB / 0.6277 GB, free: 61.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01746/1.692, allocations: 2.727 MB / 0.6304 GB, free: 58.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/1.692, allocations: 20.97 kB / 0.6304 GB, free: 58.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.501e-05/1.692, allocations: 40 kB / 0.6304 GB, free: 58.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/1.692, allocations: 60 kB / 0.6305 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/1.696, allocations: 0.5381 MB / 0.631 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.883e-05/1.697, allocations: 75.72 kB / 0.6311 GB, free: 57.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/1.708, allocations: 297 kB / 0.6314 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/1.709, allocations: 128 kB / 0.6315 GB, free: 57.51 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.00133/1.71, allocations: 259.9 kB / 0.6317 GB, free: 57.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/1.711, allocations: 130.4 kB / 0.6318 GB, free: 57.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/1.714, allocations: 1.431 MB / 0.6332 GB, free: 55.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001946/1.716, allocations: 1.002 MB / 0.6342 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.716, allocations: 4 kB / 0.6342 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.716, allocations: 3.984 kB / 0.6342 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/1.739, allocations: 11.99 MB / 0.6459 GB, free: 42.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.74, allocations: 20 kB / 0.646 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.741, allocations: 215.8 kB / 0.6462 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.491e-05/1.741, allocations: 35.88 kB / 0.6462 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.741, allocations: 47.98 kB / 0.6462 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-05/1.741, allocations: 35.86 kB / 0.6463 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/1.741, allocations: 31.88 kB / 0.6463 GB, free: 41.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/1.746, allocations: 3.717 MB / 0.6499 GB, free: 37.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009244/1.747, allocations: 347 kB / 0.6503 GB, free: 36.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/1.747, allocations: 43.98 kB / 0.6503 GB, free: 36.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.748, allocations: 59.95 kB / 0.6504 GB, free: 36.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.749, allocations: 135.5 kB / 0.6505 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.749, allocations: 56 kB / 0.6506 GB, free: 36.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001989/1.751, allocations: 0.9695 MB / 0.6515 GB, free: 35.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.751, allocations: 4 kB / 0.6515 GB, free: 35.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003969/1.755, allocations: 0.9555 MB / 0.6524 GB, free: 34.7 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.006157/1.761, allocations: 10.19 MB / 0.6624 GB, free: 23.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004111/1.765, allocations: 1.821 MB / 0.6642 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.451e-05/1.765, allocations: 4 kB / 0.6642 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.767, allocations: 0.5898 MB / 0.6647 GB, free: 21.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.77, allocations: 355.6 kB / 0.6651 GB, free: 21.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.788, allocations: 6.912 MB / 0.6718 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/1.793, allocations: 3.134 MB / 0.6749 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003609/1.796, allocations: 0.8249 MB / 0.6757 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002626/1.799, allocations: 1.265 MB / 0.6769 GB, free: 8.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/1.799, allocations: 4 kB / 0.6769 GB, free: 8.656 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4193/2.218, allocations: 41.66 MB / 0.7176 GB, free: 90.97 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/2.219, allocations: 167.3 kB / 0.7178 GB, free: 90.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/5.751, allocations: 0 / 0.7178 GB, free: 90.75 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat