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.811/1.811, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.825e-05, allocations: 0 / 225.1 MB, free: 2.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 38.77 MB / 263.8 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4091, allocations: 67.97 MB / 331.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4094, allocations: 67.95 kB / 331.9 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02156/0.431, allocations: 4.963 MB / 336.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.431, allocations: 0 / 336.8 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.4311, allocations: 8 kB / 336.8 MB, free: 0.6523 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.001263/0.4323, allocations: 0.5644 MB / 337.4 MB, free: 44 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4324, allocations: 12.03 kB / 337.4 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.4325, allocations: 62.92 kB / 337.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.4326, allocations: 39.62 kB / 337.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.4331, allocations: 274.3 kB / 337.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.4332, allocations: 20.56 kB / 337.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.4332, allocations: 27.95 kB / 337.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.4339, allocations: 240.9 kB / 338.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4339, allocations: 3.938 kB / 338.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.434, allocations: 12 kB / 338.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.434, allocations: 4 kB / 338.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.4346, allocations: 178.2 kB / 338.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.4373, allocations: 0.9953 MB / 339.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.438, allocations: 199.3 kB / 339.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4383, allocations: 105.2 kB / 339.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.4383, allocations: 4.125 kB / 339.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4384, allocations: 38.75 kB / 339.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.375e-06/0.4384, allocations: 0 / 339.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007738/0.4392, allocations: 245.4 kB / 339.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4392, allocations: 51.41 kB / 339.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.4396, allocations: 231 kB / 340.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4396, allocations: 33.7 kB / 340.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.4398, allocations: 242.4 kB / 340.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.4399, allocations: 70.98 kB / 340.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.4399, allocations: 4 kB / 340.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4401, allocations: 322.8 kB / 340.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.4403, allocations: 64.41 kB / 340.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4405, allocations: 87.45 kB / 340.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.4408, allocations: 67.97 kB / 341 MB, free: 12.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4408, allocations: 0 / 341 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007798/0.4416, allocations: 271 kB / 341.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4416, allocations: 4 kB / 341.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4416, allocations: 0 / 341.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.4421, allocations: 73.73 kB / 341.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.4424, allocations: 43.92 kB / 341.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.4457, allocations: 2.827 MB / 344.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.4461, allocations: 35.62 kB / 344.2 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.4461, allocations: 7.984 kB / 344.2 MB, free: 8.719 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.0001444/0.4463, allocations: 121 kB / 344.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.4464, allocations: 27.72 kB / 344.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.4465, allocations: 29.95 kB / 344.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4465, allocations: 4 kB / 344.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4465, allocations: 0 / 344.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4465, allocations: 256 / 344.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.4479, allocations: 0.652 MB / 345.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.4479, allocations: 4 kB / 345.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4482, allocations: 27.98 kB / 345.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.4485, allocations: 73.67 kB / 345.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.4486, allocations: 11.94 kB / 345.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.4517, allocations: 2.815 MB / 348 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4517, allocations: 8.156 kB / 348 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.4526, allocations: 348.6 kB / 348.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.4528, allocations: 116.7 kB / 348.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.4528, allocations: 4 kB / 348.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.4533, allocations: 39.97 kB / 348.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4534, allocations: 19.97 kB / 348.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.4535, allocations: 8 kB / 348.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.4537, allocations: 183.1 kB / 348.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4538, allocations: 4 kB / 348.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005344/0.4543, allocations: 91.84 kB / 348.8 MB, free: 3.766 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.001094/0.4554, allocations: 0.885 MB / 349.7 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009277/0.4564, allocations: 417.1 kB / 350.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4564, allocations: 0 / 350.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.4569, allocations: 333.2 kB / 350.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.4574, allocations: 49.72 kB / 350.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4586, allocations: 412.2 kB / 350.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.459, allocations: 0.7716 MB / 351.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.4593, allocations: 95.39 kB / 351.7 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4593, allocations: 0 / 351.7 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/3.296, allocations: 6.64 MB / 358.4 MB, free: 10.05 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