Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.473e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 38.76 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.3963, allocations: 74.09 MB / 332.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.3967, allocations: 75.97 kB / 332.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7297/1.126, allocations: 154.6 MB / 487.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.141e-05/1.126, allocations: 0 / 487.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002593/1.127, allocations: 99.88 kB / 487.2 MB, free: 2.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.02357/1.15, allocations: 4.157 MB / 491.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/1.15, allocations: 12.03 kB / 491.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/1.153, allocations: 446.7 kB / 491.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/1.164, allocations: 2.649 MB / 494.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/1.165, allocations: 156 kB / 494.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/1.166, allocations: 263.9 kB / 494.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01976/1.186, allocations: 4.716 MB / 499.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.345/1.531, allocations: 6.268 MB / 0.494 GB, free: 56.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/1.531, allocations: 6.594 kB / 0.494 GB, free: 56.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/1.533, allocations: 3.188 kB / 0.494 GB, free: 56.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/1.533, allocations: 198.4 kB / 0.4942 GB, free: 56.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/1.589, allocations: 20.7 MB / 0.5144 GB, free: 54.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/1.594, allocations: 2.479 MB / 0.5168 GB, free: 54.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005319/1.6, allocations: 2.772 MB / 0.5195 GB, free: 54.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/1.6, allocations: 62.28 kB / 0.5196 GB, free: 54.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.6, allocations: 58.06 kB / 0.5196 GB, free: 54.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 7.003e-06/1.6, allocations: 0 / 0.5196 GB, free: 54.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.009794/1.61, allocations: 4.612 MB / 0.5241 GB, free: 54.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/1.61, allocations: 129.2 kB / 0.5243 GB, free: 53.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.611, allocations: 0.7233 MB / 0.525 GB, free: 53.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000482/1.612, allocations: 25.7 kB / 0.525 GB, free: 53.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008562/1.613, allocations: 1.526 MB / 0.5265 GB, free: 53.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.614, allocations: 0.905 MB / 0.5274 GB, free: 52.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/1.614, allocations: 3.281 kB / 0.5274 GB, free: 52.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003192/1.614, allocations: 472 kB / 0.5278 GB, free: 52.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.618, allocations: 1.833 MB / 0.5296 GB, free: 52.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/1.622, allocations: 2.259 MB / 0.5318 GB, free: 51.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/1.626, allocations: 2.227 MB / 0.534 GB, free: 51.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/1.626, allocations: 3.281 kB / 0.534 GB, free: 51.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01136/1.638, allocations: 5.088 MB / 0.539 GB, free: 49.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.638, allocations: 13.81 kB / 0.539 GB, free: 49.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/1.638, allocations: 9.656 kB / 0.539 GB, free: 49.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/1.641, allocations: 1.384 MB / 0.5403 GB, free: 48.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/1.644, allocations: 346.1 kB / 0.5407 GB, free: 48.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/1.651, allocations: 5.23 MB / 0.5458 GB, free: 45.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.653, allocations: 197.8 kB / 0.546 GB, free: 45.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/1.653, allocations: 99.44 kB / 0.546 GB, free: 45.11 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.0008042/1.654, allocations: 198.2 kB / 0.5462 GB, free: 45 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01025/1.664, allocations: 4.626 MB / 0.5508 GB, free: 43.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000853/1.665, allocations: 141.8 kB / 0.5509 GB, free: 42.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.676, allocations: 4.878 MB / 0.5557 GB, free: 40.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009882/1.686, allocations: 4.585 MB / 0.5601 GB, free: 38.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.686, allocations: 0 / 0.5601 GB, free: 38.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-05/1.686, allocations: 14.62 kB / 0.5601 GB, free: 38.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.708, allocations: 9.756 MB / 0.5697 GB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.708, allocations: 3.781 kB / 0.5697 GB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.71, allocations: 224.2 kB / 0.5699 GB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/1.713, allocations: 1.364 MB / 0.5712 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000401/1.713, allocations: 49.7 kB / 0.5713 GB, free: 34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/1.72, allocations: 5.215 MB / 0.5764 GB, free: 29.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.72, allocations: 7.953 kB / 0.5764 GB, free: 29.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.735, allocations: 8.067 MB / 0.5842 GB, free: 22.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/1.735, allocations: 261.5 kB / 0.5845 GB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/1.736, allocations: 11.89 kB / 0.5845 GB, free: 22.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.737, allocations: 29.88 kB / 0.5845 GB, free: 22.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006812/1.738, allocations: 241.3 kB / 0.5848 GB, free: 22.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.738, allocations: 78.45 kB / 0.5848 GB, free: 22.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008737/1.739, allocations: 0.5511 MB / 0.5854 GB, free: 21.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.739, allocations: 0 / 0.5854 GB, free: 21.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003169/1.742, allocations: 0.9134 MB / 0.5863 GB, free: 20.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.0152/1.758, allocations: 9.699 MB / 0.5957 GB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01003/1.768, allocations: 4.306 MB / 0.5999 GB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.768, allocations: 0 / 0.5999 GB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00555/1.773, allocations: 2.172 MB / 0.6021 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.777, allocations: 282.9 kB / 0.6023 GB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/1.802, allocations: 8.75 MB / 0.6109 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007587/1.809, allocations: 3.317 MB / 0.6141 GB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001862/1.811, allocations: 373.6 kB / 0.6145 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003308/1.815, allocations: 1.24 MB / 0.6157 GB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/1.815, allocations: 0 / 0.6157 GB, free: 10.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5088/2.323, allocations: 62.77 MB / 0.677 GB, free: 64.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/2.324, allocations: 162.1 kB / 0.6771 GB, free: 64.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.771/6.094, allocations: 0 / 0.6771 GB, free: 64.17 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat