Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.577e-05, allocations: 8 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 50.4 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5542, allocations: 84.66 MB / 427.8 MB, free: 9.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5546, allocations: 80.58 kB / 427.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06693/0.6215, allocations: 16.48 MB / 444.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6216, allocations: 0 / 444.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.6216, allocations: 8 kB / 444.4 MB, free: 11.65 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003011/0.6246, allocations: 0.8002 MB / 445.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6247, allocations: 12.03 kB / 445.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003139/0.625, allocations: 114.2 kB / 445.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.6281, allocations: 298.2 kB / 445.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.6289, allocations: 340.3 kB / 445.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.629, allocations: 43.75 kB / 446 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.6291, allocations: 61.38 kB / 446 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.631, allocations: 0.6875 MB / 446.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.6311, allocations: 3.953 kB / 446.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.6312, allocations: 22 kB / 446.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.6312, allocations: 16 kB / 446.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.633, allocations: 0.6693 MB / 447.4 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/0.639, allocations: 2.432 MB / 449.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.6413, allocations: 1.2 MB / 451.1 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.642, allocations: 234 kB / 451.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.6422, allocations: 97.17 kB / 451.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.6423, allocations: 35.41 kB / 451.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.687e-06/0.6423, allocations: 0 / 451.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001601/0.6439, allocations: 0.4958 MB / 451.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.644, allocations: 81.48 kB / 452 MB, free: 5.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.6444, allocations: 242.8 kB / 452.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.6445, allocations: 41.7 kB / 452.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.6448, allocations: 248.7 kB / 452.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.645, allocations: 157.7 kB / 452.7 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.645, allocations: 8 kB / 452.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6452, allocations: 346.8 kB / 453 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.6458, allocations: 185.1 kB / 453.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/0.6465, allocations: 315.3 kB / 453.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.6471, allocations: 220.4 kB / 453.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6471, allocations: 0 / 453.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001741/0.6488, allocations: 0.5929 MB / 454.3 MB, free: 2.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006513/0.6495, allocations: 1.399 MB / 455.7 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.6495, allocations: 4 kB / 455.7 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.65, allocations: 52.83 kB / 455.8 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.651, allocations: 119.8 kB / 455.9 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.6531, allocations: 1.592 MB / 457.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.6539, allocations: 67.58 kB / 457.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.654, allocations: 23.98 kB / 457.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.654, allocations: 4 kB / 457.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/0.6557, allocations: 0.5394 MB / 458.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6557, allocations: 4 kB / 458.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.656, allocations: 52.77 kB / 458.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/0.657, allocations: 103.9 kB / 458.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.6601, allocations: 1.504 MB / 459.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.6608, allocations: 55.42 kB / 459.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.6609, allocations: 28.17 kB / 459.9 MB, free: 12.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.6612, allocations: 128.9 kB / 460 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6613, allocations: 35.58 kB / 460 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6632, allocations: 0.5983 MB / 460.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.6632, allocations: 4 kB / 460.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6632, allocations: 8 kB / 460.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6633, allocations: 7.938 kB / 460.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.6662, allocations: 1.256 MB / 461.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6663, allocations: 0 / 461.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.6671, allocations: 95.88 kB / 462 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.6674, allocations: 48.83 kB / 462 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.6675, allocations: 15.98 kB / 462.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.6695, allocations: 1.581 MB / 463.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6695, allocations: 128 / 463.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.6719, allocations: 0.9015 MB / 464.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.6722, allocations: 156.6 kB / 464.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.6723, allocations: 8 kB / 464.7 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.6729, allocations: 27.98 kB / 464.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.673, allocations: 32.39 kB / 464.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.6731, allocations: 27.98 kB / 464.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.6734, allocations: 187.1 kB / 465 MB, free: 7.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6734, allocations: 0 / 465 MB, free: 7.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001405/0.6748, allocations: 271 kB / 465.2 MB, free: 7.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00285/0.6777, allocations: 1.509 MB / 466.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.6804, allocations: 1 MB / 467.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6804, allocations: 192 / 467.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.6814, allocations: 383.2 kB / 468.1 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.6819, allocations: 32.5 kB / 468.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.6845, allocations: 0.7731 MB / 468.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.685, allocations: 0.8408 MB / 469.8 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002428/0.6875, allocations: 1.08 MB / 470.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.688, allocations: 159.4 kB / 471 MB, free: 1.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.674e-06/0.688, allocations: 4 kB / 471 MB, free: 1.355 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07139/0.7594, allocations: 9.518 MB / 480.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004225/0.7599, allocations: 193.6 kB / 480.7 MB, free: 7.719 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.745, allocations: 0 / 480.7 MB, free: 7.719 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat