Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.369e-05, allocations: 4 kB / 292.8 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.42 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6227, allocations: 79.53 MB / 422.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.623, allocations: 70.72 kB / 422.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.6461, allocations: 5.053 MB / 427.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6462, allocations: 0 / 427.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.6462, allocations: 8 kB / 427.8 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001313/0.6476, allocations: 0.5413 MB / 428.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.6476, allocations: 8.031 kB / 428.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.6478, allocations: 66.66 kB / 428.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6479, allocations: 39.53 kB / 428.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.6483, allocations: 256.4 kB / 428.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.6484, allocations: 25.59 kB / 428.8 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.6485, allocations: 32.56 kB / 428.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.6492, allocations: 251.3 kB / 429 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.6492, allocations: 4 kB / 429 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.6493, allocations: 10.69 kB / 429 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6493, allocations: 4 kB / 429.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.6498, allocations: 178.9 kB / 429.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.6526, allocations: 1.01 MB / 430.2 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.653, allocations: 136.6 kB / 430.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.6532, allocations: 70.86 kB / 430.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6533, allocations: 3.984 kB / 430.4 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6533, allocations: 42.38 kB / 430.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.497e-06/0.6533, allocations: 3.828 kB / 430.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004815/0.6538, allocations: 134.6 kB / 430.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.6539, allocations: 51.41 kB / 430.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6542, allocations: 179.2 kB / 430.8 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.6542, allocations: 36.77 kB / 430.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.6544, allocations: 191.5 kB / 431.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.6545, allocations: 65.55 kB / 431.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.6545, allocations: 3.938 kB / 431.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.6547, allocations: 329.4 kB / 431.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.6549, allocations: 56.12 kB / 431.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.6551, allocations: 110.3 kB / 431.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.6553, allocations: 60.83 kB / 431.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6553, allocations: 0 / 431.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005779/0.6559, allocations: 213.9 kB / 431.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.656, allocations: 12.08 kB / 431.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.656, allocations: 0 / 431.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.656, allocations: 4 kB / 431.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.6566, allocations: 63.91 kB / 432 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.6566, allocations: 3.984 kB / 432 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.6569, allocations: 27.34 kB / 432 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.657, allocations: 11.5 kB / 432 MB, free: 6.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001369/0.6571, allocations: 119.4 kB / 432.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.6572, allocations: 23.7 kB / 432.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.6577, allocations: 164.5 kB / 432.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6577, allocations: 0 / 432.3 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6577, allocations: 7.953 kB / 432.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6577, allocations: 0 / 432.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.6583, allocations: 316.6 kB / 432.6 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6583, allocations: 3.984 kB / 432.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.659, allocations: 63.03 kB / 432.7 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.659, allocations: 0 / 432.7 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.659, allocations: 3.5 kB / 432.7 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.659, allocations: 4 kB / 432.7 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6591, allocations: 3.953 kB / 432.7 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.6597, allocations: 309.1 kB / 433 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6598, allocations: 96.28 kB / 433.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.6599, allocations: 4 kB / 433.1 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.6602, allocations: 23.61 kB / 433.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.6603, allocations: 13.94 kB / 433.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.6604, allocations: 4 kB / 433.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.6606, allocations: 151.1 kB / 433.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6606, allocations: 0 / 433.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.6611, allocations: 82.73 kB / 433.4 MB, free: 5.344 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001032/0.6622, allocations: 0.8551 MB / 434.2 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.6627, allocations: 137.9 kB / 434.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6627, allocations: 0 / 434.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.6628, allocations: 60.44 kB / 434.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.6633, allocations: 26.73 kB / 434.4 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.6655, allocations: 0.7467 MB / 435.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.666, allocations: 0.7755 MB / 436 MB, free: 2.812 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.6663, allocations: 22.05 kB / 436 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.6664, allocations: 90.84 kB / 436.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6664, allocations: 4 kB / 436.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.6958, allocations: 4.012 MB / 440.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/0.6962, allocations: 158.2 kB / 440.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.16, allocations: 0 / 440.2 MB, free: 14.6 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat