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.119/2.119, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.385e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3328, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.469, allocations: 72.44 MB / 366.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4694, allocations: 71.95 kB / 366.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02124/0.4906, allocations: 4.792 MB / 371.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4907, allocations: 0 / 371.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.4907, allocations: 12 kB / 371.5 MB, free: 4.59 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.001196/0.4919, allocations: 0.5528 MB / 372.1 MB, free: 3.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.492, allocations: 15.97 kB / 372.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4921, allocations: 43.84 kB / 372.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.4926, allocations: 279.1 kB / 372.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.4927, allocations: 8 kB / 372.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.4927, allocations: 16 kB / 372.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005146/0.4933, allocations: 161.1 kB / 372.6 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.4938, allocations: 191.8 kB / 372.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4939, allocations: 0 / 372.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.4939, allocations: 0 / 372.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4939, allocations: 8 kB / 372.8 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.4967, allocations: 0.9339 MB / 373.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.4974, allocations: 190.2 kB / 373.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4977, allocations: 101.2 kB / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.4977, allocations: 192 / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4978, allocations: 42.75 kB / 374.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.4978, allocations: 0 / 374.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007539/0.4986, allocations: 225.8 kB / 374.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4986, allocations: 55.41 kB / 374.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.499, allocations: 200.5 kB / 374.5 MB, free: 1.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.499, allocations: 29.7 kB / 374.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4992, allocations: 191.9 kB / 374.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.4993, allocations: 63.02 kB / 374.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.4993, allocations: 0 / 374.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4995, allocations: 334.8 kB / 375.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4997, allocations: 56.47 kB / 375.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.4999, allocations: 79.27 kB / 375.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5001, allocations: 63.92 kB / 375.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5001, allocations: 0 / 375.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007619/0.5009, allocations: 262.8 kB / 375.6 MB, free: 308 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5009, allocations: 8 kB / 375.6 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5009, allocations: 0 / 375.6 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.5013, allocations: 81.67 kB / 375.7 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.5017, allocations: 39.97 kB / 375.7 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.5049, allocations: 2.712 MB / 378.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.5053, allocations: 23.73 kB / 378.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5054, allocations: 8 kB / 378.5 MB, free: 13.19 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.0001538/0.5055, allocations: 120.7 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006888/0.5062, allocations: 215.2 kB / 378.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.5063, allocations: 23.8 kB / 378.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/0.5064, allocations: 33.95 kB / 378.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5064, allocations: 0 / 378.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5065, allocations: 7.938 kB / 378.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5065, allocations: 4 kB / 378.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5078, allocations: 0.5861 MB / 379.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5078, allocations: 0 / 379.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.5081, allocations: 23.98 kB / 379.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/0.5084, allocations: 81.61 kB / 379.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.5085, allocations: 0 / 379.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.5114, allocations: 2.704 MB / 382.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5115, allocations: 0 / 382.2 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007615/0.5123, allocations: 329.3 kB / 382.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5124, allocations: 108.8 kB / 382.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.5125, allocations: 0 / 382.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.5129, allocations: 31.97 kB / 382.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.513, allocations: 19.98 kB / 382.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.5131, allocations: 11.98 kB / 382.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.5133, allocations: 156.5 kB / 382.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.116e-06/0.5134, allocations: 0 / 382.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006167/0.514, allocations: 87.69 kB / 383 MB, free: 8.324 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.001104/0.5151, allocations: 0.8548 MB / 383.8 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.516, allocations: 391.2 kB / 384.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.516, allocations: 0 / 384.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.5166, allocations: 311.3 kB / 384.5 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.5171, allocations: 32.52 kB / 384.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.5183, allocations: 355.9 kB / 384.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.5188, allocations: 0.7717 MB / 385.7 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.519, allocations: 18.08 kB / 385.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.5192, allocations: 91.34 kB / 385.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5192, allocations: 0 / 385.8 MB, free: 5.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.5676, allocations: 4.73 MB / 390.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/0.568, allocations: 149.5 kB / 390.7 MB, free: 500 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.145, allocations: 3.938 kB / 390.7 MB, free: 496 kB / 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