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.137/2.137, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.295e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5397, allocations: 73.12 MB / 373.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.54, allocations: 68.62 kB / 373.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02305/0.5631, allocations: 4.845 MB / 378 MB, free: 11.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5632, allocations: 0 / 378 MB, free: 11.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.371e-05/0.5632, allocations: 14.19 kB / 378 MB, free: 11.68 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.001573/0.5648, allocations: 0.5614 MB / 378.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.5649, allocations: 9.219 kB / 378.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.5651, allocations: 62.8 kB / 378.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.5652, allocations: 38.78 kB / 378.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.5658, allocations: 265.2 kB / 378.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.5659, allocations: 18.06 kB / 379 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.566, allocations: 27.41 kB / 379 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.567, allocations: 235.4 kB / 379.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.567, allocations: 3.984 kB / 379.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.5671, allocations: 15.33 kB / 379.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5672, allocations: 6.688 kB / 379.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.568, allocations: 171.6 kB / 379.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.5721, allocations: 0.9923 MB / 380.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.5731, allocations: 203.7 kB / 380.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.5736, allocations: 105.5 kB / 380.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5736, allocations: 2.031 kB / 380.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5737, allocations: 40.22 kB / 380.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.96e-06/0.5737, allocations: 1.281 kB / 380.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001187/0.5749, allocations: 241 kB / 381 MB, free: 10.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.575, allocations: 54.91 kB / 381 MB, free: 10.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.5756, allocations: 228.9 kB / 381.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.5757, allocations: 31.83 kB / 381.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5758, allocations: 178.8 kB / 381.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.576, allocations: 76.06 kB / 381.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.576, allocations: 8.688 kB / 381.6 MB, free: 9.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5761, allocations: 336.7 kB / 381.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.5764, allocations: 58.66 kB / 381.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.5767, allocations: 90.39 kB / 382 MB, free: 9.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.577, allocations: 72.7 kB / 382.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.577, allocations: 1.156 kB / 382.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001145/0.5782, allocations: 285.1 kB / 382.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.5783, allocations: 5.656 kB / 382.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5783, allocations: 1.312 kB / 382.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/0.5788, allocations: 74.58 kB / 382.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.5794, allocations: 41.62 kB / 382.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.583, allocations: 2.819 MB / 385.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.5836, allocations: 42.58 kB / 385.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.5837, allocations: 12.12 kB / 385.4 MB, free: 6.922 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.0001681/0.5839, allocations: 117.1 kB / 385.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.584, allocations: 23.69 kB / 385.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.5842, allocations: 30.56 kB / 385.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5842, allocations: 3.141 kB / 385.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.5842, allocations: 1.906 kB / 385.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5842, allocations: 3.328 kB / 385.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.5861, allocations: 0.6439 MB / 386.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5862, allocations: 4 kB / 386.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5866, allocations: 33.02 kB / 386.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.5871, allocations: 69.19 kB / 386.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5871, allocations: 1.438 kB / 386.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/0.5917, allocations: 2.828 MB / 389.1 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5917, allocations: 5.312 kB / 389.1 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5929, allocations: 341.6 kB / 389.5 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.5931, allocations: 99.7 kB / 389.6 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.5932, allocations: 5.156 kB / 389.6 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.5939, allocations: 43.09 kB / 389.6 MB, free: 19.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.594, allocations: 24.14 kB / 389.6 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.5941, allocations: 5.969 kB / 389.6 MB, free: 19.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004251/0.5945, allocations: 184.2 kB / 389.8 MB, free: 19.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5945, allocations: 0 / 389.8 MB, free: 19.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009643/0.5955, allocations: 95.81 kB / 389.9 MB, free: 19.5 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.001525/0.5971, allocations: 0.8871 MB / 390.8 MB, free: 18.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.5983, allocations: 393.6 kB / 391.2 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5984, allocations: 0 / 391.2 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007332/0.5991, allocations: 318 kB / 391.5 MB, free: 18.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.6, allocations: 44.98 kB / 391.5 MB, free: 18.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.6019, allocations: 378.5 kB / 391.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.6026, allocations: 0.7741 MB / 392.7 MB, free: 17.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.6029, allocations: 26.3 kB / 392.7 MB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.6032, allocations: 85.89 kB / 392.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.974e-06/0.6032, allocations: 0 / 392.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.6451, allocations: 5.611 MB / 398.4 MB, free: 16.91 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6454, allocations: 177.7 kB / 398.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.352, allocations: 0 / 398.6 MB, free: 16.69 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