Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.192e-05, allocations: 4 kB / 269.5 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 47.56 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5285, allocations: 82.77 MB / 399.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5288, allocations: 81.67 kB / 399.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07081/0.5996, allocations: 18 MB / 417.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5997, allocations: 0 / 417.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.5997, allocations: 16 kB / 417.9 MB, free: 6.004 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002832/0.6026, allocations: 0.8333 MB / 418.7 MB, free: 5.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6026, allocations: 8.031 kB / 418.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.603, allocations: 125 kB / 418.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.6076, allocations: 451.5 kB / 419.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.6085, allocations: 378.5 kB / 419.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.6086, allocations: 52 kB / 419.7 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.6088, allocations: 65.19 kB / 419.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.6109, allocations: 0.7757 MB / 420.6 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.6109, allocations: 4 kB / 420.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6111, allocations: 26.44 kB / 420.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.6111, allocations: 16 kB / 420.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.6133, allocations: 0.8086 MB / 421.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006836/0.6202, allocations: 2.794 MB / 424.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.6231, allocations: 1.96 MB / 426.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.6238, allocations: 263 kB / 426.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.624, allocations: 89.5 kB / 426.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6241, allocations: 38.5 kB / 426.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.357e-06/0.6241, allocations: 0 / 426.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001581/0.6257, allocations: 0.5243 MB / 427.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.6258, allocations: 81.55 kB / 427.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.6263, allocations: 266.3 kB / 427.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/0.6264, allocations: 40.33 kB / 427.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.6267, allocations: 288.8 kB / 427.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.6269, allocations: 178 kB / 427.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.627, allocations: 14.69 kB / 427.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6272, allocations: 352.5 kB / 428.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.6277, allocations: 201.3 kB / 428.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.6284, allocations: 392.5 kB / 428.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.629, allocations: 253.6 kB / 429.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.6291, allocations: 4 kB / 429.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001887/0.631, allocations: 0.6833 MB / 429.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.632, allocations: 2.442 MB / 432.2 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.6321, allocations: 7.953 kB / 432.2 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.6325, allocations: 63.64 kB / 432.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.6337, allocations: 143.5 kB / 432.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.6358, allocations: 1.593 MB / 434 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008477/0.6367, allocations: 82.2 kB / 434.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.6368, allocations: 35.42 kB / 434.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6368, allocations: 4 kB / 434.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001774/0.6386, allocations: 0.6232 MB / 434.8 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.6387, allocations: 11.98 kB / 434.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.639, allocations: 54.19 kB / 434.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6401, allocations: 138.8 kB / 435 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.6419, allocations: 1.508 MB / 436.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.6427, allocations: 69.73 kB / 436.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/0.6428, allocations: 34.92 kB / 436.6 MB, free: 5.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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.0002552/0.6431, allocations: 146.1 kB / 436.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6432, allocations: 39.58 kB / 436.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.645, allocations: 0.6138 MB / 437.4 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6451, allocations: 4 kB / 437.4 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6451, allocations: 4 kB / 437.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6451, allocations: 3.984 kB / 437.4 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.6482, allocations: 1.339 MB / 438.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.6483, allocations: 0 / 438.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.6492, allocations: 95.19 kB / 438.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.6495, allocations: 55.02 kB / 438.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.6496, allocations: 23.19 kB / 438.9 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.6516, allocations: 1.574 MB / 440.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6516, allocations: 0 / 440.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.6539, allocations: 0.9316 MB / 441.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.6542, allocations: 157.4 kB / 441.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6543, allocations: 18.92 kB / 441.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.6549, allocations: 27.55 kB / 441.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6551, allocations: 43.52 kB / 441.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.6552, allocations: 15.44 kB / 441.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003134/0.6555, allocations: 206.5 kB / 441.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6555, allocations: 0 / 441.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001515/0.657, allocations: 297 kB / 442.1 MB, free: 0.6328 MB / 346.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 (48): * Single equations (assignments): 45 * 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.002855/0.6599, allocations: 1.526 MB / 443.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.6627, allocations: 1.107 MB / 444.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6628, allocations: 0 / 444.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.6637, allocations: 379.4 kB / 445.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.6642, allocations: 40.95 kB / 445.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.6698, allocations: 1.341 MB / 446.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.6704, allocations: 0.8536 MB / 447.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002539/0.6729, allocations: 1.099 MB / 448.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.6734, allocations: 179.4 kB / 448.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6734, allocations: 0 / 448.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.7141, allocations: 10.03 MB / 458.7 MB, free: 116 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.7145, allocations: 190.3 kB / 458.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.516, allocations: 4 kB / 458.9 MB, free: 15.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat