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.807/1.807, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.028e-05, allocations: 8 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2698, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.3907, allocations: 67.31 MB / 325.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.3912, allocations: 63.97 kB / 325.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.4172, allocations: 4.92 MB / 330.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4173, allocations: 0 / 330.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.4173, allocations: 11.98 kB / 330.6 MB, free: 5.504 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.001208/0.4185, allocations: 0.5606 MB / 331.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4186, allocations: 8.031 kB / 331.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4187, allocations: 39.62 kB / 331.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.4192, allocations: 270.6 kB / 331.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4192, allocations: 11.94 kB / 331.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.4193, allocations: 16 kB / 331.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005077/0.4198, allocations: 169.1 kB / 331.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.4204, allocations: 187.8 kB / 331.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4204, allocations: 0 / 331.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4204, allocations: 0 / 331.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.4205, allocations: 8 kB / 331.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.423, allocations: 0.9284 MB / 332.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.4236, allocations: 187 kB / 333 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.4239, allocations: 97.22 kB / 333.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.424, allocations: 8.188 kB / 333.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.424, allocations: 34.75 kB / 333.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.126e-06/0.424, allocations: 0 / 333.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007837/0.4248, allocations: 229.9 kB / 333.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4249, allocations: 51.41 kB / 333.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.4252, allocations: 204.5 kB / 333.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.4252, allocations: 29.64 kB / 333.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.4254, allocations: 250.3 kB / 333.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.4255, allocations: 63.02 kB / 333.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.4255, allocations: 0 / 333.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4257, allocations: 322.8 kB / 334.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.4258, allocations: 60.41 kB / 334.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.426, allocations: 75.27 kB / 334.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4262, allocations: 67.92 kB / 334.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4263, allocations: 0 / 334.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007117/0.427, allocations: 243 kB / 334.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.427, allocations: 11.59 kB / 334.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.427, allocations: 8 kB / 334.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.4275, allocations: 77.67 kB / 334.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.4279, allocations: 43.91 kB / 334.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.4309, allocations: 2.704 MB / 337.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.4313, allocations: 27.77 kB / 337.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.4314, allocations: 8 kB / 337.6 MB, free: 14.08 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.0001335/0.4315, allocations: 109 kB / 337.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006367/0.4322, allocations: 219.3 kB / 337.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.4323, allocations: 31.67 kB / 337.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.4323, allocations: 29.95 kB / 337.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4324, allocations: 0 / 337.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4324, allocations: 8 kB / 338 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4324, allocations: 0 / 338 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.4336, allocations: 0.5861 MB / 338.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4336, allocations: 3.953 kB / 338.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.4339, allocations: 31.98 kB / 338.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.4342, allocations: 69.67 kB / 338.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4343, allocations: 4 kB / 338.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.4371, allocations: 2.697 MB / 341.3 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.4372, allocations: 0 / 341.3 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.4379, allocations: 328.8 kB / 341.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.4381, allocations: 120.7 kB / 341.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.4382, allocations: 3.953 kB / 341.8 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.4386, allocations: 35.97 kB / 341.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.4387, allocations: 19.97 kB / 341.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.4388, allocations: 8 kB / 341.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.439, allocations: 160.5 kB / 342 MB, free: 9.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.439, allocations: 0 / 342 MB, free: 9.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.4396, allocations: 87.75 kB / 342.1 MB, free: 9.207 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.001061/0.4407, allocations: 0.8587 MB / 343 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008325/0.4415, allocations: 383.5 kB / 343.3 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4415, allocations: 4 kB / 343.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.442, allocations: 311.3 kB / 343.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.4425, allocations: 36.5 kB / 343.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.4437, allocations: 389.6 kB / 344 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4442, allocations: 0.7717 MB / 344.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.4444, allocations: 83.41 kB / 344.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4444, allocations: 0 / 344.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/3.075, allocations: 6.447 MB / 351.3 MB, free: 15.8 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