Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.654e-05, allocations: 4 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5708, allocations: 78.98 MB / 422.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5711, allocations: 69.2 kB / 422.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0228/0.594, allocations: 5.079 MB / 427.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.594, allocations: 0 / 427.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.5941, allocations: 8 kB / 427.3 MB, free: 10.46 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001306/0.5954, allocations: 0.5617 MB / 427.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5954, allocations: 12.03 kB / 427.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.5956, allocations: 66.16 kB / 427.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.5957, allocations: 43.53 kB / 428 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.5962, allocations: 266.1 kB / 428.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.5962, allocations: 19.88 kB / 428.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.5963, allocations: 26.92 kB / 428.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.5969, allocations: 239.2 kB / 428.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.597, allocations: 0 / 428.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.597, allocations: 18.83 kB / 428.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.597, allocations: 8 kB / 428.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.5976, allocations: 167.8 kB / 428.7 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.6004, allocations: 0.988 MB / 429.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.6011, allocations: 197.5 kB / 429.9 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.6014, allocations: 104.8 kB / 430 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.6015, allocations: 4.188 kB / 430 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.6015, allocations: 41.45 kB / 430 MB, free: 8.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 4.018e-06/0.6015, allocations: 0 / 430 MB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008871/0.6024, allocations: 242.1 kB / 430.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6025, allocations: 55.41 kB / 430.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.603, allocations: 228.5 kB / 430.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.6031, allocations: 29.64 kB / 430.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.6032, allocations: 187.6 kB / 430.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.6033, allocations: 68.61 kB / 430.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.6033, allocations: 3.5 kB / 430.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6035, allocations: 341.1 kB / 431.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.6037, allocations: 53.53 kB / 431.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.604, allocations: 87.77 kB / 431.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.6042, allocations: 66.17 kB / 431.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6042, allocations: 3.938 kB / 431.4 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008905/0.6051, allocations: 287.2 kB / 431.6 MB, free: 6.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6052, allocations: 4 kB / 431.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6052, allocations: 4 kB / 431.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.6056, allocations: 78.88 kB / 431.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.606, allocations: 43.41 kB / 431.8 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.6093, allocations: 2.825 MB / 434.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.6098, allocations: 30.67 kB / 434.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.6098, allocations: 7.75 kB / 434.6 MB, free: 3.586 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 (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.0001382/0.6099, allocations: 115.8 kB / 434.7 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.61, allocations: 27.72 kB / 434.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.6101, allocations: 36.84 kB / 434.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6102, allocations: 4 kB / 434.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.6102, allocations: 0 / 434.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6102, allocations: 3.938 kB / 434.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.6115, allocations: 0.6525 MB / 435.5 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6115, allocations: 8.141 kB / 435.5 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.6118, allocations: 31.98 kB / 435.5 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.6122, allocations: 72.17 kB / 435.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.6122, allocations: 3.312 kB / 435.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.6155, allocations: 2.817 MB / 438.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6155, allocations: 0 / 438.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.6163, allocations: 349.2 kB / 438.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6164, allocations: 108.2 kB / 438.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.6165, allocations: 0 / 438.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.617, allocations: 39.8 kB / 438.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6171, allocations: 19.28 kB / 438.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.6172, allocations: 7.812 kB / 438.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.6174, allocations: 182.3 kB / 439.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6175, allocations: 0 / 439.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005794/0.6181, allocations: 90.59 kB / 439.2 MB, free: 15.13 MB / 362.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.00118/0.6192, allocations: 0.8919 MB / 440.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009138/0.6202, allocations: 390.7 kB / 440.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6202, allocations: 0 / 440.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.6208, allocations: 319.2 kB / 440.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.6213, allocations: 47.48 kB / 440.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6225, allocations: 366.1 kB / 441.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.6231, allocations: 0.776 MB / 441.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.6233, allocations: 26.06 kB / 442 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.6235, allocations: 83.66 kB / 442.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6235, allocations: 0 / 442.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.6657, allocations: 5.613 MB / 447.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/0.6662, allocations: 178.4 kB / 447.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.257, allocations: 3.938 kB / 447.8 MB, free: 6.664 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat does not exist to compare? outputFormat=mat