Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.792e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 44.5 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.4514, allocations: 72.45 MB / 366.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4517, allocations: 71.97 kB / 366.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.4721, allocations: 4.791 MB / 371.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4721, allocations: 0 / 371.5 MB, free: 4.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.4722, allocations: 12 kB / 371.5 MB, free: 4.625 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.001217/0.4734, allocations: 0.5567 MB / 372.1 MB, free: 4.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4735, allocations: 15.97 kB / 372.1 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4736, allocations: 39.53 kB / 372.1 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4741, allocations: 275.5 kB / 372.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4741, allocations: 12 kB / 372.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4742, allocations: 16 kB / 372.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005038/0.4747, allocations: 157.1 kB / 372.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.4752, allocations: 199.8 kB / 372.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4753, allocations: 0 / 372.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4753, allocations: 0 / 372.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.4753, allocations: 8 kB / 372.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4779, allocations: 0.93 MB / 373.7 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.4785, allocations: 179.1 kB / 373.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.4788, allocations: 101.2 kB / 374 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.4789, allocations: 192 / 374 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4789, allocations: 42.75 kB / 374 MB, free: 1.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.479, allocations: 0 / 374 MB, free: 1.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007593/0.4797, allocations: 225.8 kB / 374.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.4798, allocations: 59.39 kB / 374.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4801, allocations: 200.5 kB / 374.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4802, allocations: 25.7 kB / 374.5 MB, free: 1.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.4803, allocations: 254.3 kB / 374.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.4804, allocations: 63.02 kB / 374.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.4805, allocations: 0 / 374.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4806, allocations: 322.8 kB / 375.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4808, allocations: 52.47 kB / 375.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.481, allocations: 83.27 kB / 375.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4812, allocations: 63.92 kB / 375.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4812, allocations: 4 kB / 375.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007363/0.482, allocations: 250.9 kB / 375.6 MB, free: 312 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.482, allocations: 7.938 kB / 375.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.482, allocations: 0 / 375.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.4824, allocations: 77.67 kB / 375.7 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.4828, allocations: 39.97 kB / 375.7 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.486, allocations: 2.712 MB / 378.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.4865, allocations: 23.86 kB / 378.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.4865, allocations: 4.25 kB / 378.5 MB, free: 13.2 MB / 330.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.0001551/0.4867, allocations: 128.7 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006456/0.4873, allocations: 219 kB / 378.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.4874, allocations: 23.72 kB / 378.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/0.4875, allocations: 25.95 kB / 378.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4875, allocations: 4 kB / 378.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4875, allocations: 0 / 378.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4875, allocations: 0 / 378.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.4888, allocations: 0.5861 MB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.4889, allocations: 4 kB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.4891, allocations: 27.98 kB / 379.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.4895, allocations: 77.61 kB / 379.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4895, allocations: 0 / 379.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.4927, allocations: 2.704 MB / 382.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4927, allocations: 0 / 382.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.4935, allocations: 333.2 kB / 382.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4936, allocations: 104.9 kB / 382.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.4937, allocations: 0 / 382.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.4942, allocations: 27.98 kB / 382.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4943, allocations: 23.97 kB / 382.7 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.4943, allocations: 8 kB / 382.7 MB, free: 8.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.4946, allocations: 164.5 kB / 382.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4946, allocations: 0 / 382.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006298/0.4952, allocations: 83.75 kB / 383 MB, free: 8.336 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.001103/0.4963, allocations: 0.8586 MB / 383.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.4973, allocations: 387.2 kB / 384.2 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4973, allocations: 4.125 kB / 384.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.4979, allocations: 307.4 kB / 384.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.4983, allocations: 32.41 kB / 384.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.4995, allocations: 388.7 kB / 384.9 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.5, allocations: 0.7755 MB / 385.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.5003, allocations: 83.34 kB / 385.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5003, allocations: 3.938 kB / 385.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.29, allocations: 6.448 MB / 392.2 MB, free: 14.94 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat