Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.375e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09564, allocations: 44.52 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5182, allocations: 76.92 MB / 376.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5186, allocations: 79.05 kB / 376.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05988/0.5785, allocations: 15.95 MB / 392.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5786, allocations: 0 / 392.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.5786, allocations: 11.44 kB / 392.9 MB, free: 11.01 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.002274/0.5809, allocations: 0.7634 MB / 393.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5809, allocations: 7.75 kB / 393.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002673/0.5812, allocations: 109.5 kB / 393.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.5855, allocations: 430.4 kB / 394.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.5862, allocations: 318.1 kB / 394.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.5863, allocations: 49.19 kB / 394.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5864, allocations: 50.88 kB / 394.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5878, allocations: 0.5302 MB / 395.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.5879, allocations: 3.875 kB / 395.1 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.588, allocations: 19.97 kB / 395.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.588, allocations: 11.56 kB / 395.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5895, allocations: 0.6026 MB / 395.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.5939, allocations: 2.071 MB / 397.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.597, allocations: 2.982 MB / 400.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.5976, allocations: 201.8 kB / 401 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.5977, allocations: 89.06 kB / 401.1 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5978, allocations: 42.77 kB / 401.1 MB, free: 6.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.116e-06/0.5978, allocations: 0 / 401.1 MB, free: 6.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001212/0.599, allocations: 439.3 kB / 401.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.5991, allocations: 55.75 kB / 401.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.5993, allocations: 184.2 kB / 401.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.5994, allocations: 37.05 kB / 401.8 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5995, allocations: 307 kB / 402.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5997, allocations: 163.9 kB / 402.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.5997, allocations: 15 kB / 402.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.6001, allocations: 332.9 kB / 402.6 MB, free: 21.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.6004, allocations: 144.5 kB / 402.8 MB, free: 21.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.6009, allocations: 248.2 kB / 403 MB, free: 21.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.6013, allocations: 178 kB / 403.2 MB, free: 21.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6014, allocations: 3.844 kB / 403.2 MB, free: 21.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001389/0.6027, allocations: 0.538 MB / 403.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6028, allocations: 7.781 kB / 403.8 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6028, allocations: 9.234 kB / 403.8 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.6033, allocations: 97.89 kB / 403.9 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/0.6041, allocations: 110.3 kB / 404 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.6069, allocations: 1.843 MB / 405.8 MB, free: 19.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.6075, allocations: 52.5 kB / 405.9 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.6076, allocations: 25.97 kB / 405.9 MB, free: 19.63 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.0001814/0.6078, allocations: 138 kB / 406 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.6079, allocations: 34.8 kB / 406.1 MB, free: 19.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.6093, allocations: 0.509 MB / 406.6 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6094, allocations: 11.8 kB / 406.6 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6094, allocations: 0 / 406.6 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6094, allocations: 8.234 kB / 406.6 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.6117, allocations: 1.099 MB / 407.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6117, allocations: 0 / 407.7 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.6124, allocations: 81.2 kB / 407.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.6128, allocations: 92.59 kB / 407.9 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.6129, allocations: 10.16 kB / 407.9 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.6154, allocations: 1.833 MB / 409.7 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6155, allocations: 4.062 kB / 409.7 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.6172, allocations: 0.753 MB / 410.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6174, allocations: 111.8 kB / 410.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.6174, allocations: 14.16 kB / 410.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.6179, allocations: 23.17 kB / 410.6 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.618, allocations: 38.47 kB / 410.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.6181, allocations: 14.78 kB / 410.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.6182, allocations: 136.8 kB / 410.8 MB, free: 16.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6183, allocations: 3.938 kB / 410.8 MB, free: 16.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.6191, allocations: 168.8 kB / 411 MB, free: 16.96 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.002225/0.6213, allocations: 1.341 MB / 412.3 MB, free: 16.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.6227, allocations: 0.5597 MB / 412.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6228, allocations: 0 / 412.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.6235, allocations: 366 kB / 413.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.6239, allocations: 24.88 kB / 413.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.6282, allocations: 1.156 MB / 414.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.6287, allocations: 0.8259 MB / 415.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.629, allocations: 148.7 kB / 415.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.629, allocations: 192 / 415.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/3.431, allocations: 8.1 MB / 423.5 MB, free: 10.53 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat