Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.225/2.225, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.837e-05, allocations: 4.375 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.6302, allocations: 72.44 MB / 366.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6305, allocations: 72.2 kB / 366.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02908/0.6596, allocations: 4.797 MB / 371.6 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.6597, allocations: 0 / 371.6 MB, free: 22.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.67e-05/0.6598, allocations: 7.812 kB / 371.6 MB, free: 22.52 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.002029/0.6618, allocations: 0.5674 MB / 372.2 MB, free: 22.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/0.6619, allocations: 7.719 kB / 372.2 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.6622, allocations: 38.81 kB / 372.2 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.6628, allocations: 281.6 kB / 372.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.6629, allocations: 7.656 kB / 372.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.663, allocations: 15.38 kB / 372.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008351/0.6639, allocations: 160.2 kB / 372.7 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008641/0.6648, allocations: 194.5 kB / 372.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6648, allocations: 0 / 372.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.6649, allocations: 0 / 372.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6649, allocations: 11.62 kB / 372.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.6691, allocations: 0.926 MB / 373.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.6701, allocations: 186.3 kB / 374 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.6705, allocations: 101.7 kB / 374.1 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/0.6706, allocations: 4.094 kB / 374.1 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.6707, allocations: 38.34 kB / 374.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 7.514e-06/0.6707, allocations: 0 / 374.1 MB, free: 21.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001178/0.6719, allocations: 219.2 kB / 374.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.672, allocations: 59.19 kB / 374.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.6724, allocations: 203 kB / 374.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.6725, allocations: 25.7 kB / 374.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.6727, allocations: 191.5 kB / 374.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/0.6729, allocations: 71.92 kB / 374.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.6729, allocations: 0 / 374.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.673, allocations: 332.8 kB / 375.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.6733, allocations: 53.84 kB / 375.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.6737, allocations: 89.86 kB / 375.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.674, allocations: 67.73 kB / 375.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.674, allocations: 3.172 kB / 375.4 MB, free: 20.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001245/0.6753, allocations: 262.7 kB / 375.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.6754, allocations: 3.969 kB / 375.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6754, allocations: 0 / 375.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.6761, allocations: 71.12 kB / 375.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.6768, allocations: 45.06 kB / 375.8 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.6815, allocations: 2.707 MB / 378.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.6821, allocations: 28.72 kB / 378.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.6822, allocations: 7.875 kB / 378.5 MB, free: 17.97 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.0002206/0.6825, allocations: 120.6 kB / 378.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001015/0.6835, allocations: 220.6 kB / 378.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.6836, allocations: 19.44 kB / 378.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.6838, allocations: 31 kB / 378.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6838, allocations: 0 / 378.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.6838, allocations: 4.125 kB / 378.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6839, allocations: 2.625 kB / 378.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.6858, allocations: 0.5857 MB / 379.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.6859, allocations: 3.969 kB / 379.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.6864, allocations: 34.12 kB / 379.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/0.687, allocations: 70.06 kB / 379.6 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.687, allocations: 0 / 379.6 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/0.6917, allocations: 2.699 MB / 382.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.6918, allocations: 0 / 382.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.6929, allocations: 333.4 kB / 382.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.6931, allocations: 103.7 kB / 382.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.6932, allocations: 3.375 kB / 382.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.694, allocations: 32.2 kB / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6942, allocations: 18.92 kB / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.6943, allocations: 3.875 kB / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003456/0.6947, allocations: 169.7 kB / 383 MB, free: 14.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.6947, allocations: 0 / 383 MB, free: 14.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009956/0.6957, allocations: 84.41 kB / 383 MB, free: 14.62 MB / 314.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.001625/0.6973, allocations: 0.8645 MB / 383.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009295/0.6983, allocations: 385 kB / 384.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6984, allocations: 0 / 384.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.6989, allocations: 310.3 kB / 384.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.6994, allocations: 43.25 kB / 384.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.701, allocations: 354.5 kB / 385 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.7018, allocations: 0.7749 MB / 385.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.7022, allocations: 15.83 kB / 385.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.7025, allocations: 83.83 kB / 385.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of SimCode: time 2.054e-06/0.7025, allocations: 0 / 385.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06354/0.7661, allocations: 4.731 MB / 390.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003017/0.7664, allocations: 158.1 kB / 390.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.193/3.959, allocations: 3.938 kB / 390.7 MB, free: 10.7 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat