Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.042e-05/5.034e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.409, allocations: 74.52 MB / 338.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.4094, allocations: 79.95 kB / 338.5 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/1.422, allocations: 171.8 MB / 0.4983 GB, free: 52.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.422, allocations: 0 / 0.4983 GB, free: 52.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002931/1.423, allocations: 107.7 kB / 0.4984 GB, free: 52.46 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.02177/1.444, allocations: 4.49 MB / 0.5028 GB, free: 51.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.444, allocations: 6.938 kB / 0.5028 GB, free: 51.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003077/1.448, allocations: 0.7169 MB / 0.5035 GB, free: 51.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.45, allocations: 491.6 kB / 0.504 GB, free: 50.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008595/1.459, allocations: 2.929 MB / 0.5069 GB, free: 50.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/1.46, allocations: 369.8 kB / 0.5072 GB, free: 50.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/1.462, allocations: 471.4 kB / 0.5077 GB, free: 50.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03211/1.494, allocations: 7.563 MB / 0.5151 GB, free: 49.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/1.494, allocations: 10.62 kB / 0.5151 GB, free: 49.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001886/1.496, allocations: 202.1 kB / 0.5153 GB, free: 49.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/1.496, allocations: 226.7 kB / 0.5155 GB, free: 49.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/1.513, allocations: 5.328 MB / 0.5207 GB, free: 49.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06091/1.573, allocations: 23.96 MB / 0.5441 GB, free: 43.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008363/1.582, allocations: 2.734 MB / 0.5467 GB, free: 42.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02917/1.611, allocations: 3.172 MB / 0.5498 GB, free: 41.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/1.612, allocations: 73.8 kB / 0.5499 GB, free: 41.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/1.612, allocations: 58.12 kB / 0.55 GB, free: 41.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 1.259e-05/1.612, allocations: 3.75 kB / 0.55 GB, free: 41.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.03134/1.643, allocations: 5.541 MB / 0.5554 GB, free: 38.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/1.643, allocations: 125.6 kB / 0.5555 GB, free: 38.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.645, allocations: 0.7657 MB / 0.5562 GB, free: 38.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008502/1.646, allocations: 61.23 kB / 0.5563 GB, free: 38.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/1.648, allocations: 1.621 MB / 0.5579 GB, free: 36.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.65, allocations: 1.06 MB / 0.5589 GB, free: 36.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/1.65, allocations: 39.59 kB / 0.559 GB, free: 36.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003446/1.65, allocations: 432 kB / 0.5594 GB, free: 35.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/1.655, allocations: 2.096 MB / 0.5614 GB, free: 34.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/1.661, allocations: 2.536 MB / 0.5639 GB, free: 33.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/1.666, allocations: 2.541 MB / 0.5664 GB, free: 32.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.733e-05/1.667, allocations: 7.375 kB / 0.5664 GB, free: 32.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01436/1.681, allocations: 5.95 MB / 0.5722 GB, free: 27.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.681, allocations: 8 kB / 0.5722 GB, free: 27.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/1.681, allocations: 12 kB / 0.5722 GB, free: 27.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/1.685, allocations: 1.743 MB / 0.5739 GB, free: 26.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/1.688, allocations: 329 kB / 0.5742 GB, free: 25.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/1.696, allocations: 6.409 MB / 0.5805 GB, free: 19.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.699, allocations: 236 kB / 0.5807 GB, free: 19.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/1.699, allocations: 110.7 kB / 0.5808 GB, free: 19.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006651/1.7, allocations: 216.4 kB / 0.581 GB, free: 19.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/1.7, allocations: 153.9 kB / 0.5812 GB, free: 19.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.713, allocations: 5.857 MB / 0.5869 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01226/1.726, allocations: 5.499 MB / 0.5923 GB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/1.726, allocations: 4 kB / 0.5923 GB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/1.726, allocations: 11.34 kB / 0.5923 GB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.751, allocations: 12.18 MB / 0.6042 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.751, allocations: 4 kB / 0.6042 GB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/1.753, allocations: 220.8 kB / 0.6044 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00465/1.758, allocations: 1.734 MB / 0.6061 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004504/1.758, allocations: 70.41 kB / 0.6062 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.769, allocations: 6.401 MB / 0.6124 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.769, allocations: 7.844 kB / 0.6124 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3009/2.07, allocations: 9.698 MB / 0.6219 GB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/2.071, allocations: 274.9 kB / 0.6221 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/2.072, allocations: 44.72 kB / 0.6222 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/2.073, allocations: 65.03 kB / 0.6222 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/2.074, allocations: 268 kB / 0.6225 GB, free: 63.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003867/2.075, allocations: 85.3 kB / 0.6226 GB, free: 63.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00147/2.076, allocations: 0.5933 MB / 0.6232 GB, free: 63.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.076, allocations: 0 / 0.6232 GB, free: 63.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004711/2.081, allocations: 1.064 MB / 0.6242 GB, free: 63.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02152/2.103, allocations: 10.58 MB / 0.6345 GB, free: 61.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01276/2.115, allocations: 4.963 MB / 0.6394 GB, free: 61.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/2.116, allocations: 0 / 0.6394 GB, free: 61.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006333/2.122, allocations: 2.541 MB / 0.6419 GB, free: 61.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/2.125, allocations: 338.8 kB / 0.6422 GB, free: 61.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/2.152, allocations: 9.795 MB / 0.6518 GB, free: 60.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005748/2.157, allocations: 3.591 MB / 0.6553 GB, free: 59.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00174/2.159, allocations: 374.3 kB / 0.6556 GB, free: 59.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/2.162, allocations: 1.352 MB / 0.6569 GB, free: 59.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/2.162, allocations: 6.938 kB / 0.6569 GB, free: 59.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/2.325, allocations: 74.14 MB / 0.7293 GB, free: 18.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.325, allocations: 198.6 kB / 0.7295 GB, free: 18.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.186/6.511, allocations: 0 / 0.7295 GB, free: 18.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat