Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.821e-05, allocations: 8 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.6037, allocations: 82.98 MB / 426.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.6042, allocations: 76.45 kB / 426.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0651/0.6693, allocations: 15.47 MB / 441.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6694, allocations: 0 / 441.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.6694, allocations: 8 kB / 441.7 MB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002689/0.6721, allocations: 0.7519 MB / 442.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6722, allocations: 8.031 kB / 442.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.6725, allocations: 96.45 kB / 442.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.6763, allocations: 361.3 kB / 442.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.677, allocations: 297 kB / 443.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.6771, allocations: 38.75 kB / 443.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6772, allocations: 53.19 kB / 443.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6787, allocations: 493.8 kB / 443.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.6788, allocations: 0 / 443.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.6789, allocations: 22.62 kB / 443.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.6789, allocations: 19.89 kB / 443.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.6805, allocations: 0.5256 MB / 444.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.6856, allocations: 1.897 MB / 446.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.6889, allocations: 2.156 MB / 448.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.6895, allocations: 191.4 kB / 448.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.6897, allocations: 97.52 kB / 448.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.6897, allocations: 41.19 kB / 448.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 4.218e-06/0.6897, allocations: 0 / 448.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001388/0.6911, allocations: 414.8 kB / 449.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.6912, allocations: 63.8 kB / 449.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.6915, allocations: 173.7 kB / 449.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.6916, allocations: 36.58 kB / 449.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.6918, allocations: 221 kB / 449.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.692, allocations: 158.6 kB / 449.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.692, allocations: 7.188 kB / 449.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6922, allocations: 337.9 kB / 450.1 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.6926, allocations: 132.9 kB / 450.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.693, allocations: 207 kB / 450.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.6935, allocations: 161.9 kB / 450.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.6935, allocations: 4 kB / 450.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001528/0.695, allocations: 0.49 MB / 451.1 MB, free: 5.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.6951, allocations: 4 kB / 451.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.6951, allocations: 4 kB / 451.1 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.6958, allocations: 91.09 kB / 451.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.6966, allocations: 99.25 kB / 451.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.7, allocations: 1.84 MB / 453.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.7006, allocations: 47.58 kB / 453.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.7007, allocations: 16 kB / 453.2 MB, free: 3.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.7009, allocations: 128.9 kB / 453.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.701, allocations: 23.72 kB / 453.3 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.7027, allocations: 0.5158 MB / 453.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7028, allocations: 8 kB / 453.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7028, allocations: 4 kB / 453.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7028, allocations: 3.984 kB / 453.9 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.7056, allocations: 1.07 MB / 454.9 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.7057, allocations: 4 kB / 454.9 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.7064, allocations: 87.83 kB / 455 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.7069, allocations: 84.94 kB / 455.1 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.707, allocations: 12 kB / 455.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.7099, allocations: 1.831 MB / 456.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.71, allocations: 3.953 kB / 456.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.712, allocations: 0.7336 MB / 457.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.7122, allocations: 112.6 kB / 457.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.7123, allocations: 8 kB / 457.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.7127, allocations: 23.98 kB / 457.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7129, allocations: 32.39 kB / 457.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.713, allocations: 15.98 kB / 457.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.7132, allocations: 131.2 kB / 458 MB, free: 14.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7132, allocations: 4.062 kB / 458 MB, free: 14.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.7141, allocations: 159.5 kB / 458.2 MB, free: 14.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/0.7167, allocations: 1.341 MB / 459.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.7183, allocations: 0.5203 MB / 460 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7183, allocations: 0 / 460 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.7192, allocations: 351.9 kB / 460.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.7197, allocations: 28.11 kB / 460.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.7219, allocations: 0.6379 MB / 461 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.7224, allocations: 0.8205 MB / 461.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.7228, allocations: 46.95 kB / 461.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.7232, allocations: 139.4 kB / 462 MB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7232, allocations: 0 / 462 MB, free: 10.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.7651, allocations: 7.042 MB / 469.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003498/0.7656, allocations: 193.8 kB / 469.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.669, allocations: 0 / 469.3 MB, free: 3.262 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat