Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.608e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5681, allocations: 78.75 MB / 421.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5684, allocations: 66.47 kB / 421.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.5797, allocations: 2.767 MB / 424.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5797, allocations: 0 / 424.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.5798, allocations: 4 kB / 424.2 MB, free: 13.01 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006152/0.5804, allocations: 412.4 kB / 424.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5805, allocations: 8.031 kB / 424.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.5805, allocations: 44.86 kB / 424.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5806, allocations: 11.91 kB / 424.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.5809, allocations: 201.2 kB / 424.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.581, allocations: 11.86 kB / 424.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.581, allocations: 7.188 kB / 424.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.5813, allocations: 114.3 kB / 425 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5813, allocations: 3.953 kB / 425 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.5813, allocations: 7.312 kB / 425 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5814, allocations: 4 kB / 425 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.5816, allocations: 68.72 kB / 425.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.5827, allocations: 0.5964 MB / 425.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.5831, allocations: 76.12 kB / 425.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.5832, allocations: 27.17 kB / 425.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5833, allocations: 7.953 kB / 425.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.5833, allocations: 38.5 kB / 425.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.5833, allocations: 0 / 425.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004207/0.5837, allocations: 108.8 kB / 425.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5838, allocations: 59.34 kB / 426 MB, free: 11.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.584, allocations: 128 kB / 426.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.584, allocations: 25.7 kB / 426.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.5841, allocations: 125.9 kB / 426.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.5841, allocations: 22.97 kB / 426.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.5841, allocations: 3.938 kB / 426.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5843, allocations: 328.3 kB / 426.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.5844, allocations: 18.94 kB / 426.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.5845, allocations: 41.12 kB / 426.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.5845, allocations: 19.06 kB / 426.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5846, allocations: 4 kB / 426.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003889/0.585, allocations: 134.7 kB / 426.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.585, allocations: 7.953 kB / 426.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.585, allocations: 4 kB / 426.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.5853, allocations: 32.47 kB / 426.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5854, allocations: 11.98 kB / 426.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.5875, allocations: 1.51 MB / 428.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.5877, allocations: 11.62 kB / 428.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5877, allocations: 0 / 428.4 MB, free: 8.801 MB / 346.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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5878, allocations: 113.6 kB / 428.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.5879, allocations: 7.906 kB / 428.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.5879, allocations: 16.3 kB / 428.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5879, allocations: 0 / 428.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5879, allocations: 4 kB / 428.6 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5879, allocations: 0 / 428.6 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.5883, allocations: 213.1 kB / 428.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5883, allocations: 4 kB / 428.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.5884, allocations: 4 kB / 428.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.5886, allocations: 39.64 kB / 428.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5886, allocations: 0 / 428.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.5904, allocations: 1.497 MB / 430.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5904, allocations: 3.984 kB / 430.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.5908, allocations: 210 kB / 430.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5909, allocations: 81.02 kB / 430.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.5909, allocations: 3.188 kB / 430.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5911, allocations: 16.12 kB / 430.6 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.5912, allocations: 4.188 kB / 430.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.5912, allocations: 11.98 kB / 430.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.5913, allocations: 112.1 kB / 430.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5913, allocations: 0 / 430.7 MB, free: 6.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.5919, allocations: 39.47 kB / 430.8 MB, free: 6.387 MB / 346.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 (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006868/0.5926, allocations: 0.7446 MB / 431.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004226/0.593, allocations: 171.4 kB / 431.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.593, allocations: 0 / 431.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.5933, allocations: 143 kB / 431.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5935, allocations: 10.56 kB / 431.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.5942, allocations: 193.8 kB / 432 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.5946, allocations: 0.7121 MB / 432.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.5947, allocations: 4.906 kB / 432.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.5948, allocations: 32.23 kB / 432.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of SimCode: time 3.125e-06/0.5948, allocations: 0 / 432.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.6171, allocations: 2.53 MB / 435.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.6175, allocations: 186.7 kB / 435.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.961, allocations: 0 / 435.5 MB, free: 1.699 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat does not exist to compare? outputFormat=mat