Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.625e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 50.4 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5795, allocations: 79.27 MB / 422.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5798, allocations: 70.84 kB / 422.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.5988, allocations: 5.105 MB / 427.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5989, allocations: 0 / 427.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.777e-05/0.5989, allocations: 7.719 kB / 427.6 MB, free: 7.449 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001006/0.5999, allocations: 0.5416 MB / 428.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6, allocations: 7.844 kB / 428.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.6001, allocations: 69.78 kB / 428.2 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.6002, allocations: 42.44 kB / 428.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6005, allocations: 256.8 kB / 428.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.6005, allocations: 23.28 kB / 428.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.6006, allocations: 34.31 kB / 428.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.6012, allocations: 253 kB / 428.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6012, allocations: 0 / 428.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.6013, allocations: 14.28 kB / 428.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.6013, allocations: 11.56 kB / 428.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.6018, allocations: 173.7 kB / 429 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.604, allocations: 1.067 MB / 430.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.6043, allocations: 146.6 kB / 430.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.6046, allocations: 124.9 kB / 430.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.6046, allocations: 0 / 430.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.6047, allocations: 34.41 kB / 430.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.6047, allocations: 0 / 430.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003838/0.6051, allocations: 148.9 kB / 430.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6051, allocations: 59.09 kB / 430.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6053, allocations: 193.2 kB / 430.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.6054, allocations: 25.7 kB / 430.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.6055, allocations: 193.9 kB / 431 MB, free: 5.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.6055, allocations: 73 kB / 431.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.6056, allocations: 7.438 kB / 431.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.6057, allocations: 331.3 kB / 431.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6058, allocations: 50.06 kB / 431.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.606, allocations: 138.7 kB / 431.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.6062, allocations: 79.59 kB / 431.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6062, allocations: 0 / 431.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004786/0.6067, allocations: 235.9 kB / 431.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6067, allocations: 7.797 kB / 431.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6068, allocations: 8.094 kB / 431.9 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6068, allocations: 7.797 kB / 431.9 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.6073, allocations: 71.91 kB / 432 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.6074, allocations: 3.812 kB / 432 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.6076, allocations: 34.2 kB / 432 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.6077, allocations: 14.41 kB / 432 MB, free: 4.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.913e-05/0.6078, allocations: 119.9 kB / 432.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.6078, allocations: 19.19 kB / 432.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.6082, allocations: 181.7 kB / 432.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6082, allocations: 3.844 kB / 432.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6083, allocations: 0 / 432.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6083, allocations: 0 / 432.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.6092, allocations: 0.5738 MB / 432.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6092, allocations: 4.062 kB / 432.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.6097, allocations: 59.48 kB / 433 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.6098, allocations: 3.938 kB / 433 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6098, allocations: 10.39 kB / 433 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6098, allocations: 0 / 433 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6098, allocations: 3.812 kB / 433 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.6104, allocations: 364.8 kB / 433.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.6104, allocations: 95.61 kB / 433.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.6105, allocations: 3.312 kB / 433.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.6108, allocations: 18.36 kB / 433.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6109, allocations: 19.69 kB / 433.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.6109, allocations: 14.19 kB / 433.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.6111, allocations: 150.2 kB / 433.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6111, allocations: 0 / 433.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000465/0.6115, allocations: 84.7 kB / 433.7 MB, free: 3.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.0009511/0.6125, allocations: 1.043 MB / 434.8 MB, free: 18.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.6129, allocations: 148.4 kB / 434.9 MB, free: 18.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6129, allocations: 0.5 kB / 434.9 MB, free: 18.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.613, allocations: 67.84 kB / 435 MB, free: 18.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.6134, allocations: 27.31 kB / 435 MB, free: 18.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.6151, allocations: 0.7612 MB / 435.8 MB, free: 18.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.6155, allocations: 0.7798 MB / 436.6 MB, free: 17.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.6157, allocations: 21.61 kB / 436.6 MB, free: 17.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.6159, allocations: 91.28 kB / 436.7 MB, free: 17.53 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6159, allocations: 0 / 436.7 MB, free: 17.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.6463, allocations: 4.124 MB / 440.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.6466, allocations: 160 kB / 440.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.063, allocations: 4 kB / 440.9 MB, free: 15.33 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat