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.819/2.819, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.937e-05, allocations: 3.844 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6016, allocations: 72.45 MB / 366.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.6019, allocations: 70.02 kB / 366.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.6277, allocations: 4.826 MB / 371.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6277, allocations: 0 / 371.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.229e-05/0.6278, allocations: 11.75 kB / 371.6 MB, free: 22.28 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.001427/0.6292, allocations: 0.5567 MB / 372.2 MB, free: 21.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.6293, allocations: 11.66 kB / 372.2 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.821e-05/0.6294, allocations: 53.19 kB / 372.2 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.6296, allocations: 42.97 kB / 372.3 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.6301, allocations: 274.3 kB / 372.5 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.6301, allocations: 11.94 kB / 372.6 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.6302, allocations: 15.62 kB / 372.6 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006498/0.6309, allocations: 163.7 kB / 372.7 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.6316, allocations: 190.2 kB / 372.9 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6317, allocations: 0 / 372.9 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.6317, allocations: 0 / 372.9 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.6318, allocations: 8.797 kB / 372.9 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.6349, allocations: 0.9366 MB / 373.9 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.6356, allocations: 193.1 kB / 374.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.6359, allocations: 93.25 kB / 374.1 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.636, allocations: 4.188 kB / 374.1 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.636, allocations: 42.31 kB / 374.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.596e-06/0.6361, allocations: 0 / 374.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008781/0.6369, allocations: 221.2 kB / 374.4 MB, free: 20.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.637, allocations: 55.25 kB / 374.5 MB, free: 20.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.6374, allocations: 208.5 kB / 374.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.6374, allocations: 25.7 kB / 374.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.6376, allocations: 190.8 kB / 374.9 MB, free: 20.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.6377, allocations: 64.34 kB / 374.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.6377, allocations: 0 / 374.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.6379, allocations: 340.5 kB / 375.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.6381, allocations: 47.97 kB / 375.3 MB, free: 20.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.6383, allocations: 89.36 kB / 375.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.6385, allocations: 69.61 kB / 375.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6385, allocations: 0 / 375.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009244/0.6395, allocations: 256.6 kB / 375.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6395, allocations: 7.75 kB / 375.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6396, allocations: 4.062 kB / 375.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.6401, allocations: 68.02 kB / 375.8 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.6405, allocations: 47.14 kB / 375.8 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.6441, allocations: 2.713 MB / 378.6 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.6447, allocations: 22.55 kB / 378.6 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.6447, allocations: 10.84 kB / 378.6 MB, free: 17.68 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.000169/0.6449, allocations: 116.7 kB / 378.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.645, allocations: 31.03 kB / 378.7 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.6451, allocations: 25.31 kB / 378.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.6452, allocations: 4.188 kB / 378.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6452, allocations: 0 / 378.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6452, allocations: 5.406 kB / 378.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.6466, allocations: 0.5841 MB / 379.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6467, allocations: 0 / 379.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.6471, allocations: 33.62 kB / 379.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.6475, allocations: 70.36 kB / 379.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.6476, allocations: 3.844 kB / 379.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.651, allocations: 2.704 MB / 382.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6511, allocations: 0 / 382.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.652, allocations: 322.1 kB / 382.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.6521, allocations: 104.9 kB / 382.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.6522, allocations: 2.109 kB / 382.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.6528, allocations: 33.08 kB / 382.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.6529, allocations: 32.53 kB / 382.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.653, allocations: 3.875 kB / 382.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000272/0.6533, allocations: 161.1 kB / 382.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6533, allocations: 3.938 kB / 382.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000751/0.6541, allocations: 85.34 kB / 382.9 MB, free: 14.39 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.001323/0.6554, allocations: 0.8655 MB / 383.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.6564, allocations: 367.1 kB / 384.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6565, allocations: 3.938 kB / 384.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.6571, allocations: 317.5 kB / 384.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.6577, allocations: 31.3 kB / 384.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.6591, allocations: 354.1 kB / 384.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.6596, allocations: 0.7726 MB / 385.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.6598, allocations: 24.11 kB / 385.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.66, allocations: 83.83 kB / 385.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6601, allocations: 4 kB / 385.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.7729, allocations: 4.875 MB / 390.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002675/0.7733, allocations: 150.1 kB / 390.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.522/4.295, allocations: 0 / 390.7 MB, free: 10.41 MB / 314.7 MB