Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.849e-05, allocations: 4 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6034, allocations: 84.94 MB / 384.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.6038, allocations: 85.83 kB / 385 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5358/1.14, allocations: 142 MB / 0.5146 GB, free: 3.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.14, allocations: 0 / 0.5146 GB, free: 3.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002514/1.14, allocations: 87.94 kB / 0.5147 GB, free: 3.508 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.3152/1.455, allocations: 3.888 MB / 0.5185 GB, free: 77.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.455, allocations: 9.969 kB / 0.5185 GB, free: 77.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003044/1.458, allocations: 0.6334 MB / 0.5191 GB, free: 77.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/1.475, allocations: 1.802 MB / 0.5209 GB, free: 76.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00796/1.483, allocations: 2.433 MB / 0.5233 GB, free: 76.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/1.484, allocations: 320.8 kB / 0.5236 GB, free: 76.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/1.486, allocations: 420.6 kB / 0.524 GB, free: 76.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0272/1.513, allocations: 6.817 MB / 0.5306 GB, free: 76.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/1.513, allocations: 3.312 kB / 0.5306 GB, free: 76.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001724/1.515, allocations: 180 kB / 0.5308 GB, free: 76.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005132/1.515, allocations: 275.3 kB / 0.5311 GB, free: 76.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/1.533, allocations: 5.738 MB / 0.5367 GB, free: 76.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05386/1.587, allocations: 21.35 MB / 0.5575 GB, free: 73.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.599, allocations: 7.556 MB / 0.5649 GB, free: 67.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006858/1.606, allocations: 2.922 MB / 0.5677 GB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/1.631, allocations: 9.466 MB / 0.577 GB, free: 61.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/1.631, allocations: 56.08 kB / 0.577 GB, free: 61.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.962e-06/1.631, allocations: 3.031 kB / 0.577 GB, free: 61.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01319/1.644, allocations: 4.25 MB / 0.5812 GB, free: 59.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.644, allocations: 71.09 kB / 0.5813 GB, free: 59.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/1.648, allocations: 1.089 MB / 0.5823 GB, free: 59.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007286/1.648, allocations: 59.67 kB / 0.5824 GB, free: 59.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.65, allocations: 1.648 MB / 0.584 GB, free: 58.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.652, allocations: 0.8816 MB / 0.5849 GB, free: 57.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/1.653, allocations: 55.34 kB / 0.5849 GB, free: 57.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000596/1.653, allocations: 490 kB / 0.5854 GB, free: 57.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006645/1.66, allocations: 1.911 MB / 0.5872 GB, free: 56.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007589/1.668, allocations: 2.68 MB / 0.5899 GB, free: 54.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007385/1.675, allocations: 2.379 MB / 0.5922 GB, free: 53.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/1.675, allocations: 7.406 kB / 0.5922 GB, free: 53.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01976/1.695, allocations: 5.484 MB / 0.5975 GB, free: 51.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/1.695, allocations: 15.5 kB / 0.5976 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/1.695, allocations: 27 kB / 0.5976 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/1.699, allocations: 1.062 MB / 0.5986 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/1.704, allocations: 0.5229 MB / 0.5991 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/1.712, allocations: 3.879 MB / 0.6029 GB, free: 48.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.716, allocations: 368.8 kB / 0.6033 GB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008902/1.717, allocations: 137.4 kB / 0.6034 GB, free: 48.62 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.001001/1.718, allocations: 258.3 kB / 0.6037 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007954/1.719, allocations: 155.8 kB / 0.6038 GB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.73, allocations: 4.619 MB / 0.6083 GB, free: 46.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009837/1.74, allocations: 4.218 MB / 0.6124 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.74, allocations: 0 / 0.6124 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.74, allocations: 7.828 kB / 0.6124 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/1.762, allocations: 9.501 MB / 0.6217 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.762, allocations: 0 / 0.6217 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.764, allocations: 243.8 kB / 0.6219 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/1.767, allocations: 1.044 MB / 0.623 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/1.767, allocations: 55.06 kB / 0.623 GB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/1.772, allocations: 3.827 MB / 0.6268 GB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.772, allocations: 3.953 kB / 0.6268 GB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.787, allocations: 7.074 MB / 0.6337 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/1.787, allocations: 292.7 kB / 0.6339 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/1.788, allocations: 36.06 kB / 0.634 GB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.79, allocations: 82.72 kB / 0.6341 GB, free: 23.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/1.79, allocations: 197.9 kB / 0.6343 GB, free: 23.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.79, allocations: 71.11 kB / 0.6343 GB, free: 23.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001459/1.792, allocations: 0.786 MB / 0.6351 GB, free: 22.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.792, allocations: 0 / 0.6351 GB, free: 22.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003361/1.795, allocations: 1 MB / 0.6361 GB, free: 21.53 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.01491/1.81, allocations: 7.72 MB / 0.6436 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01028/1.821, allocations: 4.44 MB / 0.6479 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.821, allocations: 0 / 0.6479 GB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004767/1.825, allocations: 2.042 MB / 0.6499 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.828, allocations: 277.8 kB / 0.6502 GB, free: 8.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.85, allocations: 8.578 MB / 0.6586 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/1.854, allocations: 3.046 MB / 0.6615 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002913/1.857, allocations: 0.5707 MB / 0.6621 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/1.86, allocations: 1.211 MB / 0.6633 GB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/1.86, allocations: 0 / 0.6633 GB, free: 13.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5052/2.365, allocations: 62.79 MB / 0.7246 GB, free: 81.88 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/2.365, allocations: 201.3 kB / 0.7248 GB, free: 81.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.171/6.537, allocations: 0 / 0.7248 GB, free: 81.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat