Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.327e-05, allocations: 4 kB / 255.4 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09433, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5334, allocations: 73.11 MB / 373.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5337, allocations: 66.38 kB / 373.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02146/0.5552, allocations: 4.845 MB / 378 MB, free: 12.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5553, allocations: 0 / 378 MB, free: 12.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.809e-05/0.5553, allocations: 10.16 kB / 378 MB, free: 12.1 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001174/0.5565, allocations: 0.5598 MB / 378.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5566, allocations: 13.47 kB / 378.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.563e-05/0.5567, allocations: 63.53 kB / 378.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.5568, allocations: 39.38 kB / 378.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.5572, allocations: 269.5 kB / 378.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.5573, allocations: 23.22 kB / 378.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.5573, allocations: 23 kB / 379 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.558, allocations: 230.6 kB / 379.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.558, allocations: 3.938 kB / 379.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.5581, allocations: 18.02 kB / 379.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5581, allocations: 6.938 kB / 379.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.5587, allocations: 181.1 kB / 379.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.5613, allocations: 0.9881 MB / 380.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.5619, allocations: 197.1 kB / 380.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.5622, allocations: 107.5 kB / 380.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.5623, allocations: 6.625 kB / 380.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5623, allocations: 36.19 kB / 380.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.5623, allocations: 0 / 380.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007863/0.5631, allocations: 244.7 kB / 381 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5632, allocations: 55.39 kB / 381 MB, free: 10.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.5635, allocations: 226.5 kB / 381.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.5636, allocations: 27.89 kB / 381.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5637, allocations: 185.1 kB / 381.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.5638, allocations: 75.25 kB / 381.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.5638, allocations: 4.688 kB / 381.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.5639, allocations: 337.7 kB / 381.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5641, allocations: 62.34 kB / 381.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5643, allocations: 93.88 kB / 382 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5645, allocations: 72.25 kB / 382.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5645, allocations: 0 / 382.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007827/0.5653, allocations: 287.8 kB / 382.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5654, allocations: 6.469 kB / 382.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5654, allocations: 1.281 kB / 382.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.5658, allocations: 71.42 kB / 382.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.5662, allocations: 49.72 kB / 382.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.5687, allocations: 2.814 MB / 385.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.5692, allocations: 43 kB / 385.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.5692, allocations: 11.58 kB / 385.4 MB, free: 7.336 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.5693, allocations: 114.9 kB / 385.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.5694, allocations: 25.62 kB / 385.5 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.5695, allocations: 29.78 kB / 385.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.5695, allocations: 2.594 kB / 385.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5695, allocations: 2.906 kB / 385.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5696, allocations: 5.344 kB / 385.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.5709, allocations: 0.6433 MB / 386.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5709, allocations: 0 / 386.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.5712, allocations: 28.53 kB / 386.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/0.5715, allocations: 73.91 kB / 386.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.5715, allocations: 4.594 kB / 386.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.5746, allocations: 2.838 MB / 389.1 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5746, allocations: 0 / 389.1 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.5754, allocations: 348.8 kB / 389.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5756, allocations: 100.2 kB / 389.6 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.5757, allocations: 2.562 kB / 389.6 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.5761, allocations: 37.61 kB / 389.6 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5762, allocations: 35.44 kB / 389.6 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.5763, allocations: 5.5 kB / 389.6 MB, free: 19.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.5765, allocations: 184.6 kB / 389.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5766, allocations: 1.375 kB / 389.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.5771, allocations: 92.78 kB / 389.9 MB, free: 19.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.5782, allocations: 0.8839 MB / 390.8 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.5791, allocations: 410.1 kB / 391.2 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5791, allocations: 3.938 kB / 391.2 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.5796, allocations: 329.5 kB / 391.5 MB, free: 18.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.5802, allocations: 48.53 kB / 391.6 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.5814, allocations: 377.7 kB / 391.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.5818, allocations: 0.775 MB / 392.7 MB, free: 17.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002177/0.582, allocations: 29.69 kB / 392.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.5822, allocations: 86.84 kB / 392.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5822, allocations: 0 / 392.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.6166, allocations: 5.634 MB / 398.5 MB, free: 17.29 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.6169, allocations: 186.9 kB / 398.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.308, allocations: 0 / 398.6 MB, free: 17.05 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat