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 2.028/2.028, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.556e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3586, allocations: 44.49 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4981, allocations: 76.27 MB / 370.5 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.4985, allocations: 83.94 kB / 370.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06485/0.5634, allocations: 15.74 MB / 386.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5635, allocations: 0 / 386.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.5635, allocations: 8 kB / 386.3 MB, free: 5.582 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.002608/0.5661, allocations: 0.7588 MB / 387.1 MB, free: 4.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5662, allocations: 8.031 kB / 387.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/0.5707, allocations: 434.9 kB / 387.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.5715, allocations: 322.3 kB / 387.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.5715, allocations: 16 kB / 387.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5717, allocations: 39.89 kB / 387.9 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/0.5733, allocations: 0.5649 MB / 388.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5747, allocations: 427.9 kB / 388.9 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.5747, allocations: 4 kB / 388.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.5748, allocations: 0 / 388.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.5749, allocations: 16 kB / 388.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.5803, allocations: 1.948 MB / 390.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.5843, allocations: 2.964 MB / 393.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.5849, allocations: 186.2 kB / 394 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.5851, allocations: 89.53 kB / 394.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.5852, allocations: 43 kB / 394.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.797e-06/0.5852, allocations: 0 / 394.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001932/0.5871, allocations: 480.4 kB / 394.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.5872, allocations: 59.84 kB / 394.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.5875, allocations: 165.3 kB / 394.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.5876, allocations: 33.7 kB / 394.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5878, allocations: 240 kB / 395.1 MB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.588, allocations: 157.7 kB / 395.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.588, allocations: 0 / 395.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5882, allocations: 334.8 kB / 395.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.5886, allocations: 129.1 kB / 395.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.589, allocations: 237.9 kB / 395.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.5902, allocations: 264.5 kB / 396.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.5903, allocations: 4 kB / 396.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002277/0.5925, allocations: 0.59 MB / 396.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.5926, allocations: 4 kB / 396.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.5926, allocations: 4 kB / 396.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.5932, allocations: 93.03 kB / 396.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/0.5941, allocations: 107.8 kB / 397 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.597, allocations: 1.771 MB / 398.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.5976, allocations: 51.58 kB / 398.8 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.5976, allocations: 20 kB / 398.8 MB, free: 8.07 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.0001681/0.5978, allocations: 120.6 kB / 398.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001707/0.5995, allocations: 480.3 kB / 399.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.5997, allocations: 23.72 kB / 399.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.6017, allocations: 0.5589 MB / 400 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6017, allocations: 4 kB / 400 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.6017, allocations: 4 kB / 400 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6018, allocations: 3.984 kB / 400 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.6046, allocations: 1.072 MB / 401.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.6047, allocations: 0 / 401.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.6054, allocations: 79.89 kB / 401.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.6058, allocations: 88.94 kB / 401.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.6059, allocations: 8 kB / 401.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.6086, allocations: 1.759 MB / 403 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6087, allocations: 0 / 403 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.611, allocations: 0.7843 MB / 403.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.6112, allocations: 112.6 kB / 403.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.6113, allocations: 0 / 403.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.6118, allocations: 15.98 kB / 403.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.6119, allocations: 36.38 kB / 403.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.612, allocations: 20.06 kB / 403.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001697/0.6121, allocations: 128.3 kB / 404.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6122, allocations: 3.938 kB / 404.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009778/0.6131, allocations: 139.5 kB / 404.2 MB, free: 2.43 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.00287/0.616, allocations: 1.371 MB / 405.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.6175, allocations: 0.5241 MB / 406.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6175, allocations: 0 / 406.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.6183, allocations: 348 kB / 406.5 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6187, allocations: 15.92 kB / 406.5 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.6234, allocations: 1.054 MB / 407.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.624, allocations: 0.8209 MB / 408.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.6245, allocations: 51.27 kB / 408.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.6248, allocations: 143.4 kB / 408.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6249, allocations: 192 / 408.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.679, allocations: 6.3 MB / 414.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.6794, allocations: 161.8 kB / 415 MB, free: 7.516 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.331, allocations: 4 kB / 415 MB, free: 7.512 MB / 362.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