Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.823e-05, allocations: 0 / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.5587, allocations: 82.99 MB / 425.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5591, allocations: 76.27 kB / 425.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0599/0.619, allocations: 15.47 MB / 441.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.619, allocations: 0 / 441.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.447e-05/0.6191, allocations: 8 kB / 441.2 MB, free: 14.08 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.00244/0.6215, allocations: 0.7491 MB / 441.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6216, allocations: 8.031 kB / 441.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/0.6218, allocations: 95.45 kB / 442 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.6255, allocations: 363.1 kB / 442.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.6261, allocations: 298.1 kB / 442.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.6262, allocations: 41.06 kB / 442.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6264, allocations: 54.12 kB / 442.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6277, allocations: 490.2 kB / 443.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.6278, allocations: 3.875 kB / 443.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.6279, allocations: 18.12 kB / 443.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.6279, allocations: 15.95 kB / 443.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.6293, allocations: 0.5291 MB / 443.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.6341, allocations: 1.892 MB / 445.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.6373, allocations: 2.163 MB / 447.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.6379, allocations: 194.3 kB / 448.1 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.6381, allocations: 89.53 kB / 448.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.6381, allocations: 37.62 kB / 448.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.6381, allocations: 0 / 448.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001322/0.6395, allocations: 418.8 kB / 448.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.6396, allocations: 67.73 kB / 448.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.6398, allocations: 177.2 kB / 448.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/0.64, allocations: 32.39 kB / 448.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.6402, allocations: 219.2 kB / 449.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.6405, allocations: 159.3 kB / 449.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.6406, allocations: 7.125 kB / 449.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6408, allocations: 338.4 kB / 449.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.6414, allocations: 139.4 kB / 449.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.642, allocations: 195.7 kB / 449.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.6427, allocations: 165.4 kB / 450.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.6427, allocations: 3.938 kB / 450.1 MB, free: 6.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002094/0.6448, allocations: 0.4934 MB / 450.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.6449, allocations: 4 kB / 450.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.6449, allocations: 4 kB / 450.6 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/0.6457, allocations: 79.5 kB / 450.6 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.6468, allocations: 99.75 kB / 450.7 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.6509, allocations: 1.853 MB / 452.6 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.6518, allocations: 47.58 kB / 452.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.6519, allocations: 16 kB / 452.7 MB, free: 3.648 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.0002436/0.6521, allocations: 129 kB / 452.8 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6523, allocations: 27.66 kB / 452.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6546, allocations: 0.5157 MB / 453.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6547, allocations: 4 kB / 453.3 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6547, allocations: 4 kB / 453.3 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.6547, allocations: 4.172 kB / 453.3 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.6585, allocations: 1.074 MB / 454.4 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.6585, allocations: 3.938 kB / 454.4 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6596, allocations: 79.89 kB / 454.5 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007204/0.6603, allocations: 88.75 kB / 454.6 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/0.6605, allocations: 12 kB / 454.6 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.6643, allocations: 1.827 MB / 456.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6644, allocations: 7.984 kB / 456.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6672, allocations: 0.7297 MB / 457.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.6675, allocations: 112.6 kB / 457.3 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6677, allocations: 11.98 kB / 457.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.6683, allocations: 28 kB / 457.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6685, allocations: 36.38 kB / 457.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.6686, allocations: 12 kB / 457.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002595/0.6688, allocations: 131.2 kB / 457.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6689, allocations: 0 / 457.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001418/0.6703, allocations: 159.5 kB / 457.6 MB, free: 14.41 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.003474/0.6738, allocations: 1.333 MB / 459 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.6759, allocations: 0.5241 MB / 459.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.676, allocations: 448 / 459.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6771, allocations: 347.7 kB / 459.8 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.0005428/0.6777, allocations: 27.92 kB / 459.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.6807, allocations: 0.6471 MB / 460.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.6814, allocations: 0.8166 MB / 461.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000559/0.682, allocations: 46.95 kB / 461.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.6824, allocations: 143.4 kB / 461.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6824, allocations: 0 / 461.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.7203, allocations: 7.039 MB / 468.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.7207, allocations: 193 kB / 468.7 MB, free: 3.266 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.404, allocations: 0 / 468.7 MB, free: 3.266 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat