Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.147e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4152/0.5417, allocations: 81.21 MB / 398.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5421, allocations: 75.45 kB / 398.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07233/0.6144, allocations: 15.91 MB / 414.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.6145, allocations: 4 kB / 414.2 MB, free: 8.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.6146, allocations: 34.17 kB / 414.3 MB, free: 8.855 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00326/0.6179, allocations: 1.029 MB / 415.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.618, allocations: 8.031 kB / 415.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000355/0.6183, allocations: 152.9 kB / 415.4 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.6187, allocations: 130.4 kB / 415.6 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.6206, allocations: 0.5565 MB / 416.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.6207, allocations: 72.56 kB / 416.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.621, allocations: 101.8 kB / 416.3 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.6244, allocations: 0.9738 MB / 417.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.6245, allocations: 7.938 kB / 417.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.6247, allocations: 42.5 kB / 417.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.6248, allocations: 24 kB / 417.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.6273, allocations: 0.4975 MB / 417.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.6378, allocations: 5.535 MB / 423.4 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.6389, allocations: 227.4 kB / 423.6 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.6395, allocations: 146.1 kB / 423.7 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.6398, allocations: 85.09 kB / 423.8 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.359e-05/0.6399, allocations: 46.44 kB / 423.9 MB, free: 16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.887e-06/0.6399, allocations: 0.7656 kB / 423.9 MB, free: 16 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.006641/0.6465, allocations: 1.509 MB / 425.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.6467, allocations: 84.36 kB / 425.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.648, allocations: 0.5438 MB / 426 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.6481, allocations: 29.45 kB / 426 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006814/0.6488, allocations: 0.5976 MB / 426.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.649, allocations: 151.2 kB / 426.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.6491, allocations: 18 kB / 426.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.6494, allocations: 381.1 kB / 427.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.6499, allocations: 125.8 kB / 427.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.6508, allocations: 473.6 kB / 427.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.6516, allocations: 206.7 kB / 428 MB, free: 12.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.6516, allocations: 4 kB / 428 MB, free: 12.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002195/0.6538, allocations: 0.6382 MB / 428.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.6539, allocations: 8 kB / 428.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.6539, allocations: 12 kB / 428.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.235e-05/0.654, allocations: 23.95 kB / 428.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.6557, allocations: 199.6 kB / 428.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-05/0.6558, allocations: 23.92 kB / 428.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.6568, allocations: 41 kB / 428.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6569, allocations: 42.98 kB / 428.9 MB, free: 11.42 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.6572, allocations: 160.5 kB / 429.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.6575, allocations: 75.06 kB / 429.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.6577, allocations: 76.5 kB / 429.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6578, allocations: 4 kB / 429.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6578, allocations: 3.953 kB / 429.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.6578, allocations: 8 kB / 429.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.6619, allocations: 1.286 MB / 430.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.662, allocations: 4 kB / 430.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6633, allocations: 111.6 kB / 430.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.211e-05/0.6633, allocations: 7.938 kB / 430.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.6634, allocations: 7.625 kB / 430.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.6634, allocations: 4 kB / 430.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6634, allocations: 4 kB / 430.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.6651, allocations: 0.7113 MB / 431.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.6654, allocations: 147.8 kB / 431.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6655, allocations: 7.312 kB / 431.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.6663, allocations: 27.36 kB / 431.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6665, allocations: 38.34 kB / 431.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.6665, allocations: 10.38 kB / 431.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.6676, allocations: 409 kB / 432 MB, free: 8.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6676, allocations: 0 / 432 MB, free: 8.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001482/0.6691, allocations: 145.4 kB / 432.2 MB, free: 8.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002401/0.6715, allocations: 1.681 MB / 433.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.673, allocations: 381.5 kB / 434.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.673, allocations: 0 / 434.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.6735, allocations: 131.7 kB / 434.3 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008795/0.6744, allocations: 61.55 kB / 434.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.6798, allocations: 1.364 MB / 435.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.6808, allocations: 1.028 MB / 436.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005751/0.6814, allocations: 94 kB / 436.9 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/0.682, allocations: 389.6 kB / 437.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.682, allocations: 3.938 kB / 437.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.7286, allocations: 11.36 MB / 448.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.7289, allocations: 167.4 kB / 448.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.6, allocations: 0 / 448.8 MB, free: 8.488 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat does not exist to compare? outputFormat=mat