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.086/2.086, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.274e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 44.5 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.5607, allocations: 76.93 MB / 376.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.561, allocations: 82.69 kB / 377 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05868/0.6197, allocations: 15.94 MB / 392.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6198, allocations: 3.234 kB / 392.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6198, allocations: 11.62 kB / 392.9 MB, free: 10.96 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.002294/0.6221, allocations: 0.7605 MB / 393.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6222, allocations: 7.75 kB / 393.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.6225, allocations: 111.6 kB / 393.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/0.6267, allocations: 435.8 kB / 394.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.6274, allocations: 317 kB / 394.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.6274, allocations: 41.97 kB / 394.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6276, allocations: 58.06 kB / 394.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.6289, allocations: 0.5208 MB / 395.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.6289, allocations: 3.688 kB / 395.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.629, allocations: 23.53 kB / 395.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.6291, allocations: 11.84 kB / 395.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.6304, allocations: 0.5925 MB / 395.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.6348, allocations: 2.074 MB / 397.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.6378, allocations: 2.971 MB / 400.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.6383, allocations: 208.2 kB / 401 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.6385, allocations: 91.7 kB / 401.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.6385, allocations: 50.33 kB / 401.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.916e-06/0.6385, allocations: 0 / 401.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001178/0.6397, allocations: 429.2 kB / 401.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.6397, allocations: 55.69 kB / 401.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.64, allocations: 184.5 kB / 401.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.6401, allocations: 37.33 kB / 401.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.6404, allocations: 310 kB / 402.2 MB, free: 21.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6405, allocations: 164.8 kB / 402.3 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.6406, allocations: 11.19 kB / 402.3 MB, free: 21.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6407, allocations: 334 kB / 402.7 MB, free: 21.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.6411, allocations: 136.3 kB / 402.8 MB, free: 21.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.6415, allocations: 257.3 kB / 403 MB, free: 21.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.6419, allocations: 172.6 kB / 403.2 MB, free: 21.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6419, allocations: 0 / 403.2 MB, free: 21.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001324/0.6432, allocations: 0.5347 MB / 403.7 MB, free: 21.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6433, allocations: 7.719 kB / 403.8 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6433, allocations: 3.875 kB / 403.8 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.6438, allocations: 94.03 kB / 403.9 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.6446, allocations: 111.2 kB / 404 MB, free: 20.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.6472, allocations: 1.843 MB / 405.8 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.6479, allocations: 62.11 kB / 405.9 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.6479, allocations: 23.09 kB / 405.9 MB, free: 19.58 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.0001812/0.6481, allocations: 138 kB / 406 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.6482, allocations: 31.02 kB / 406.1 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.6497, allocations: 0.5085 MB / 406.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.6498, allocations: 7.875 kB / 406.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6498, allocations: 0 / 406.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.6498, allocations: 6.812 kB / 406.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.652, allocations: 1.113 MB / 407.7 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6521, allocations: 0 / 407.7 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.6527, allocations: 85.61 kB / 407.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.6532, allocations: 83.09 kB / 407.9 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6532, allocations: 11.09 kB / 407.9 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.6556, allocations: 1.828 MB / 409.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6557, allocations: 7.812 kB / 409.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.6574, allocations: 0.7518 MB / 410.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.6576, allocations: 107.6 kB / 410.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.6576, allocations: 14.42 kB / 410.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.6581, allocations: 22.08 kB / 410.6 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.6582, allocations: 34.91 kB / 410.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.6583, allocations: 15.06 kB / 410.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.6584, allocations: 141 kB / 410.8 MB, free: 16.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6585, allocations: 0 / 410.8 MB, free: 16.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008481/0.6593, allocations: 172.8 kB / 410.9 MB, free: 16.93 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.002133/0.6615, allocations: 1.341 MB / 412.3 MB, free: 16.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.6628, allocations: 0.5404 MB / 412.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6628, allocations: 4.094 kB / 412.8 MB, free: 16.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.6635, allocations: 354.8 kB / 413.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.664, allocations: 29.48 kB / 413.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.6681, allocations: 1.145 MB / 414.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.6686, allocations: 0.8214 MB / 415.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.6689, allocations: 151.5 kB / 415.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6689, allocations: 0 / 415.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/3.417, allocations: 8.098 MB / 423.4 MB, free: 10.54 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