Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.924e-05, allocations: 0 / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09718, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5157, allocations: 81.29 MB / 398.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5161, allocations: 79.77 kB / 398.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07089/0.587, allocations: 16.13 MB / 414.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.587, allocations: 0 / 414.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.5871, allocations: 8 kB / 414.5 MB, free: 9.031 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.003297/0.5904, allocations: 0.761 MB / 415.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5905, allocations: 8.031 kB / 415.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003045/0.5908, allocations: 105.8 kB / 415.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/0.5977, allocations: 433.2 kB / 415.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.5986, allocations: 315.1 kB / 416.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.5987, allocations: 47.64 kB / 416.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.5989, allocations: 58.62 kB / 416.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.601, allocations: 0.5217 MB / 416.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.6011, allocations: 0 / 416.8 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.6012, allocations: 23.44 kB / 416.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.6013, allocations: 12 kB / 416.8 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.6036, allocations: 0.5967 MB / 417.4 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.6105, allocations: 2.072 MB / 419.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00518/0.6158, allocations: 2.983 MB / 422.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.6166, allocations: 194.7 kB / 422.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.6168, allocations: 101.5 kB / 422.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6169, allocations: 35 kB / 422.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 4.388e-06/0.6169, allocations: 0 / 422.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001807/0.6187, allocations: 440.3 kB / 423.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.6188, allocations: 55.84 kB / 423.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.6192, allocations: 183 kB / 423.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.6193, allocations: 33.14 kB / 423.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.6195, allocations: 253.3 kB / 423.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.6198, allocations: 160.6 kB / 423.9 MB, free: 440 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.6198, allocations: 6.438 kB / 423.9 MB, free: 440 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.62, allocations: 340.2 kB / 424.2 MB, free: 104 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.6206, allocations: 144.4 kB / 424.4 MB, free: 12 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/0.6213, allocations: 251.2 kB / 424.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.622, allocations: 178.6 kB / 424.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.622, allocations: 0 / 424.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002156/0.6242, allocations: 0.5393 MB / 425.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.6243, allocations: 8 kB / 425.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6243, allocations: 0 / 425.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000736/0.6251, allocations: 92.44 kB / 425.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6262, allocations: 111.8 kB / 425.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.6302, allocations: 1.843 MB / 427.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.6311, allocations: 66.39 kB / 427.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.6312, allocations: 27.19 kB / 427.5 MB, free: 13.27 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.0002364/0.6314, allocations: 130.9 kB / 427.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6316, allocations: 23.72 kB / 427.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.6338, allocations: 0.5163 MB / 428.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.6338, allocations: 11.94 kB / 428.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6338, allocations: 4 kB / 428.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6339, allocations: 4 kB / 428.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.6373, allocations: 1.105 MB / 429.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6374, allocations: 0 / 429.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/0.6383, allocations: 87.7 kB / 429.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.639, allocations: 80.12 kB / 429.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.6391, allocations: 15.62 kB / 429.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/0.6428, allocations: 1.831 MB / 431.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.6429, allocations: 7.953 kB / 431.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.645, allocations: 0.7506 MB / 432 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.6452, allocations: 112.8 kB / 432.1 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.6453, allocations: 18.42 kB / 432.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.6459, allocations: 15.06 kB / 432.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.6461, allocations: 39.75 kB / 432.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.6462, allocations: 11.38 kB / 432.2 MB, free: 9.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002227/0.6464, allocations: 149.7 kB / 432.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6465, allocations: 0 / 432.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009176/0.6474, allocations: 169.2 kB / 432.5 MB, free: 8.953 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.002438/0.6498, allocations: 1.341 MB / 433.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.6515, allocations: 0.5345 MB / 434.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.6515, allocations: 7.688 kB / 434.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.6523, allocations: 342.4 kB / 434.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.6527, allocations: 28.81 kB / 434.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.6575, allocations: 1.153 MB / 435.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.6581, allocations: 0.8215 MB / 436.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004058/0.6585, allocations: 55.25 kB / 436.8 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.6588, allocations: 140.2 kB / 436.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6588, allocations: 0 / 436.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.7037, allocations: 7.254 MB / 444.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001275/0.7051, allocations: 194.7 kB / 444.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.373, allocations: 4 kB / 444.4 MB, free: 13.79 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat