Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.952e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 38.78 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.3698, allocations: 67.99 MB / 331.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.3701, allocations: 67.95 kB / 331.9 MB, free: 5.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.3922, allocations: 4.963 MB / 336.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3922, allocations: 0 / 336.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.3923, allocations: 8 kB / 336.9 MB, free: 0.6172 MB / 282.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.001237/0.3935, allocations: 0.5645 MB / 337.4 MB, free: 8 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.094e-05/0.3936, allocations: 12.08 kB / 337.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.753e-05/0.3937, allocations: 62.5 kB / 337.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3938, allocations: 39.61 kB / 337.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.3943, allocations: 266.6 kB / 337.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.3944, allocations: 24.5 kB / 337.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.3944, allocations: 27.95 kB / 337.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.3951, allocations: 227.8 kB / 338.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3951, allocations: 4 kB / 338.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.3952, allocations: 16 kB / 338.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3952, allocations: 8 kB / 338.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.3958, allocations: 173.1 kB / 338.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.3985, allocations: 0.9875 MB / 339.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.3992, allocations: 195.1 kB / 339.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.3996, allocations: 113.2 kB / 339.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.3996, allocations: 4.188 kB / 339.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3997, allocations: 34.75 kB / 339.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.3997, allocations: 0 / 339.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008274/0.4005, allocations: 249 kB / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4006, allocations: 55.41 kB / 339.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.401, allocations: 227 kB / 340.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.401, allocations: 29.7 kB / 340.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4012, allocations: 246.3 kB / 340.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.4013, allocations: 70.98 kB / 340.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.4013, allocations: 8 kB / 340.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4015, allocations: 322.8 kB / 340.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.4017, allocations: 64.41 kB / 340.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.402, allocations: 87.2 kB / 340.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.4022, allocations: 59.98 kB / 341 MB, free: 12.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4022, allocations: 4 kB / 341 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008153/0.403, allocations: 271 kB / 341.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4031, allocations: 4 kB / 341.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4031, allocations: 3.984 kB / 341.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.4035, allocations: 73.67 kB / 341.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.4039, allocations: 39.98 kB / 341.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.4073, allocations: 2.827 MB / 344.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.4077, allocations: 31.8 kB / 344.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.4078, allocations: 12 kB / 344.2 MB, free: 8.699 MB / 298.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.000144/0.4079, allocations: 112.9 kB / 344.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.408, allocations: 23.72 kB / 344.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.609e-05/0.4081, allocations: 33.95 kB / 344.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4081, allocations: 4.062 kB / 344.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4082, allocations: 4 kB / 344.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4082, allocations: 0 / 344.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.4095, allocations: 0.6481 MB / 345.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4096, allocations: 0 / 345.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.4099, allocations: 35.97 kB / 345.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.4102, allocations: 69.88 kB / 345.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.4103, allocations: 11.92 kB / 345.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.4135, allocations: 2.823 MB / 348 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4135, allocations: 0 / 348 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.4144, allocations: 344.8 kB / 348.3 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4145, allocations: 120.7 kB / 348.5 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.4146, allocations: 4 kB / 348.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.4151, allocations: 35.98 kB / 348.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4152, allocations: 19.97 kB / 348.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.4153, allocations: 4 kB / 348.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.4156, allocations: 191.1 kB / 348.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4156, allocations: 0 / 348.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.4162, allocations: 91.84 kB / 348.8 MB, free: 3.762 MB / 298.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.001165/0.4174, allocations: 0.8889 MB / 349.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.4183, allocations: 395.4 kB / 350.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4183, allocations: 0 / 350.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.4189, allocations: 319.3 kB / 350.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.4194, allocations: 52.59 kB / 350.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4206, allocations: 407 kB / 350.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.421, allocations: 0.7755 MB / 351.6 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.4213, allocations: 87.41 kB / 351.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4213, allocations: 0 / 351.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.685/3.107, allocations: 6.638 MB / 358.3 MB, free: 10.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat