Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.764e-05, allocations: 5.562 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5755, allocations: 83.12 MB / 426.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5758, allocations: 73.52 kB / 426.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06819/0.644, allocations: 16.2 MB / 442.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6441, allocations: 0 / 442.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.698e-05/0.6442, allocations: 31.98 kB / 442.6 MB, free: 13.12 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002731/0.6469, allocations: 1.033 MB / 443.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.647, allocations: 15.95 kB / 443.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/0.6473, allocations: 150.8 kB / 443.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.6477, allocations: 133.9 kB / 443.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6492, allocations: 0.5437 MB / 444.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.6493, allocations: 72.69 kB / 444.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.6495, allocations: 102.8 kB / 444.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.6519, allocations: 0.9837 MB / 445.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.652, allocations: 3.938 kB / 445.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.6521, allocations: 42.56 kB / 445.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.6522, allocations: 28 kB / 445.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.6539, allocations: 499.6 kB / 446.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/0.662, allocations: 5.537 MB / 451.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.6628, allocations: 223.8 kB / 451.9 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.6632, allocations: 148.2 kB / 452.1 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.6634, allocations: 88.48 kB / 452.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6635, allocations: 42.12 kB / 452.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/0.6635, allocations: 0 / 452.2 MB, free: 4.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004848/0.6684, allocations: 1.506 MB / 453.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.6685, allocations: 85.11 kB / 453.8 MB, free: 2.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.6695, allocations: 0.5316 MB / 454.3 MB, free: 2.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.6696, allocations: 36.08 kB / 454.4 MB, free: 2.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.6701, allocations: 0.6042 MB / 455 MB, free: 1.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.6703, allocations: 144.4 kB / 455.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.6703, allocations: 14 kB / 455.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.6706, allocations: 397.5 kB / 455.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.671, allocations: 126.2 kB / 455.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.6716, allocations: 465.4 kB / 456.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.6722, allocations: 215.2 kB / 456.3 MB, free: 440 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.6722, allocations: 4 kB / 456.3 MB, free: 436 kB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001643/0.6739, allocations: 0.6281 MB / 456.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.674, allocations: 12 kB / 456.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.674, allocations: 12 kB / 457 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.321e-05/0.6741, allocations: 16.78 kB / 457 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.676, allocations: 207.6 kB / 457.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.729e-05/0.676, allocations: 19.94 kB / 457.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.6768, allocations: 39.98 kB / 457.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.6768, allocations: 40 kB / 457.3 MB, free: 15.45 MB / 378.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.0002055/0.6771, allocations: 164.6 kB / 457.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6772, allocations: 75.05 kB / 457.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.6775, allocations: 78.33 kB / 457.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6775, allocations: 4 kB / 457.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6775, allocations: 3.938 kB / 457.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6776, allocations: 7.969 kB / 457.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.681, allocations: 1.292 MB / 458.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6811, allocations: 3.984 kB / 458.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.6821, allocations: 103.9 kB / 459 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.6821, allocations: 8.156 kB / 459 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.6822, allocations: 15.98 kB / 459 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.6822, allocations: 4 kB / 459 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6822, allocations: 0 / 459 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.6836, allocations: 0.7061 MB / 459.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.6839, allocations: 144.2 kB / 459.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.684, allocations: 12 kB / 459.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.6846, allocations: 27.98 kB / 459.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.6847, allocations: 19.97 kB / 459.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.6848, allocations: 19.98 kB / 459.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007975/0.6856, allocations: 411.1 kB / 460.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6856, allocations: 4 kB / 460.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.6867, allocations: 143.9 kB / 460.5 MB, free: 12.07 MB / 378.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.001939/0.6886, allocations: 1.673 MB / 462.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.6898, allocations: 366.5 kB / 462.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6898, allocations: 0 / 462.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.6902, allocations: 136.9 kB / 462.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.6909, allocations: 75.19 kB / 462.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.6956, allocations: 1.371 MB / 464.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/0.6966, allocations: 1.02 MB / 465.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006169/0.6972, allocations: 98 kB / 465.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/0.698, allocations: 391.3 kB / 465.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.698, allocations: 0 / 465.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.7455, allocations: 11.36 MB / 477 MB, free: 11.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/0.7459, allocations: 160.3 kB / 477.1 MB, free: 11.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/3.811, allocations: 0 / 477.1 MB, free: 11.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat does not exist to compare? outputFormat=mat