Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.242e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09936, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/0.5205, allocations: 76.93 MB / 376.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.5208, allocations: 79.23 kB / 377 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06193/0.5828, allocations: 15.95 MB / 392.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5828, allocations: 0 / 392.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.5829, allocations: 11.56 kB / 392.9 MB, free: 10.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002404/0.5853, allocations: 0.7638 MB / 393.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5853, allocations: 7.906 kB / 393.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/0.5857, allocations: 103.3 kB / 393.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.5903, allocations: 433.8 kB / 394.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.5911, allocations: 324.4 kB / 394.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.5912, allocations: 43.28 kB / 394.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.5915, allocations: 51.44 kB / 394.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.593, allocations: 0.5306 MB / 395.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.5931, allocations: 3.875 kB / 395.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.5932, allocations: 20.31 kB / 395.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.5932, allocations: 15.62 kB / 395.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.5948, allocations: 0.5871 MB / 395.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/0.5998, allocations: 2.074 MB / 397.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.6033, allocations: 2.975 MB / 400.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.6039, allocations: 199.2 kB / 401.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.604, allocations: 92.55 kB / 401.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.6041, allocations: 42.27 kB / 401.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.008e-06/0.6041, allocations: 7.922 kB / 401.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001283/0.6054, allocations: 429.7 kB / 401.6 MB, free: 5.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.6055, allocations: 59.66 kB / 401.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.6057, allocations: 185.2 kB / 401.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.6058, allocations: 33.45 kB / 401.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.6062, allocations: 241.2 kB / 402.1 MB, free: 21.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6064, allocations: 166.3 kB / 402.3 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.6064, allocations: 18.25 kB / 402.3 MB, free: 21.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6066, allocations: 334.5 kB / 402.6 MB, free: 20.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.607, allocations: 145.4 kB / 402.8 MB, free: 20.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.6074, allocations: 249.1 kB / 403 MB, free: 20.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.6078, allocations: 174.3 kB / 403.2 MB, free: 20.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.6079, allocations: 0 / 403.2 MB, free: 20.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001751/0.6096, allocations: 0.5402 MB / 403.7 MB, free: 20.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6097, allocations: 3.938 kB / 403.7 MB, free: 20.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6097, allocations: 3.719 kB / 403.7 MB, free: 20.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.6102, allocations: 93.98 kB / 403.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.6111, allocations: 119 kB / 403.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.6139, allocations: 1.843 MB / 405.8 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.6146, allocations: 53.56 kB / 405.8 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.6147, allocations: 30.61 kB / 405.9 MB, free: 19.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.000183/0.6149, allocations: 134.9 kB / 406 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.6149, allocations: 27.3 kB / 406 MB, free: 19.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.6164, allocations: 0.5161 MB / 406.5 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.6164, allocations: 3.812 kB / 406.5 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6164, allocations: 3.719 kB / 406.5 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6164, allocations: 3.984 kB / 406.5 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.6188, allocations: 1.107 MB / 407.7 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6188, allocations: 0 / 407.7 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.6195, allocations: 84.86 kB / 407.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.6199, allocations: 85.16 kB / 407.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.62, allocations: 10.47 kB / 407.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.6237, allocations: 1.839 MB / 409.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6238, allocations: 0 / 409.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.6269, allocations: 0.7432 MB / 410.4 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.6273, allocations: 116.3 kB / 410.5 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.6276, allocations: 16.88 kB / 410.5 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.6283, allocations: 26.12 kB / 410.6 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.6285, allocations: 43.31 kB / 410.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.6286, allocations: 11.09 kB / 410.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.6288, allocations: 143.2 kB / 410.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.6289, allocations: 0 / 410.8 MB, free: 16.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001475/0.6303, allocations: 166.2 kB / 410.9 MB, free: 16.51 MB / 330.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 (44): * Single equations (assignments): 43 * 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.004182/0.6346, allocations: 1.348 MB / 412.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.6374, allocations: 0.5399 MB / 412.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.6375, allocations: 3.969 kB / 412.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6386, allocations: 352.9 kB / 413.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.6391, allocations: 26.81 kB / 413.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.6436, allocations: 1.114 MB / 414.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.6441, allocations: 0.8264 MB / 415.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000407/0.6446, allocations: 51.77 kB / 415.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.6449, allocations: 139.2 kB / 415.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.6449, allocations: 0 / 415.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.6805, allocations: 7.16 MB / 422.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.6809, allocations: 190.7 kB / 422.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.526, allocations: 3.938 kB / 422.7 MB, free: 10.49 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat