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.042/2.042, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.305e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.5015, allocations: 76.26 MB / 370.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5019, allocations: 75.95 kB / 370.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07325/0.5752, allocations: 15.74 MB / 386.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5753, allocations: 0 / 386.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.667e-05/0.5753, allocations: 8 kB / 386.3 MB, free: 5.637 MB / 330.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.003233/0.5785, allocations: 0.7638 MB / 387.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.5786, allocations: 12.03 kB / 387.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006836/0.5855, allocations: 426.9 kB / 387.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.5864, allocations: 326.3 kB / 387.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.5864, allocations: 20 kB / 387.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.5866, allocations: 35.91 kB / 387.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002258/0.5889, allocations: 0.5648 MB / 388.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.5907, allocations: 427.9 kB / 388.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.5907, allocations: 3.984 kB / 388.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.5908, allocations: 0 / 388.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.5909, allocations: 12 kB / 388.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006459/0.5973, allocations: 1.96 MB / 390.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005149/0.6025, allocations: 2.956 MB / 393.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.6033, allocations: 188.9 kB / 394 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.6035, allocations: 93.55 kB / 394 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.6036, allocations: 38.98 kB / 394.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.719e-06/0.6036, allocations: 0 / 394.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.002544/0.6061, allocations: 476.4 kB / 394.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.6062, allocations: 55.84 kB / 394.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.6066, allocations: 177.3 kB / 394.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.6066, allocations: 25.7 kB / 394.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.6069, allocations: 306.5 kB / 395.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.6072, allocations: 157.7 kB / 395.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.6072, allocations: 0 / 395.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.6075, allocations: 326.8 kB / 395.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.608, allocations: 137.1 kB / 395.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.6087, allocations: 241.1 kB / 395.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.6102, allocations: 260.5 kB / 396.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6102, allocations: 0 / 396.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002134/0.6123, allocations: 0.5822 MB / 396.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.6124, allocations: 8 kB / 396.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6124, allocations: 4 kB / 396.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/0.613, allocations: 89.12 kB / 396.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.6138, allocations: 115.8 kB / 397 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.6167, allocations: 1.779 MB / 398.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.6172, allocations: 47.48 kB / 398.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.6173, allocations: 24 kB / 398.8 MB, free: 8.059 MB / 346.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.0001846/0.6175, allocations: 112.7 kB / 398.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001724/0.6192, allocations: 484.4 kB / 399.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.6193, allocations: 27.72 kB / 399.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.6213, allocations: 0.5511 MB / 400 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.6213, allocations: 8 kB / 400 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6213, allocations: 0 / 400 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6214, allocations: 3.984 kB / 400 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.6242, allocations: 1.072 MB / 401.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6242, allocations: 0 / 401.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.6249, allocations: 83.89 kB / 401.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.6254, allocations: 84.75 kB / 401.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.6255, allocations: 4 kB / 401.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.6281, allocations: 1.759 MB / 403 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6282, allocations: 0 / 403 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.631, allocations: 0.7881 MB / 403.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.6312, allocations: 112.7 kB / 403.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.6313, allocations: 0 / 403.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.6319, allocations: 15.98 kB / 403.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.6321, allocations: 36.45 kB / 404 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.6321, allocations: 12 kB / 404 MB, free: 2.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.6324, allocations: 136.2 kB / 404.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.6324, allocations: 3.938 kB / 404.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001558/0.634, allocations: 139.5 kB / 404.2 MB, free: 2.426 MB / 346.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.002848/0.6369, allocations: 1.372 MB / 405.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.6383, allocations: 0.5201 MB / 406.1 MB, free: 500 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6383, allocations: 4 kB / 406.1 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.6391, allocations: 344 kB / 406.5 MB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.6395, allocations: 15.94 kB / 406.5 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.6441, allocations: 1.087 MB / 407.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.6446, allocations: 0.8287 MB / 408.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.645, allocations: 147.3 kB / 408.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.645, allocations: 0 / 408.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.52, allocations: 7.977 MB / 416.5 MB, free: 6.004 MB / 362.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