Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.293e-05, allocations: 0 / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.4089, allocations: 81.86 MB / 345.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4093, allocations: 71.95 kB / 345.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4075/0.8167, allocations: 55.01 MB / 400.8 MB, free: 71.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8168, allocations: 4 kB / 400.8 MB, free: 71.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.047e-05/0.8169, allocations: 24 kB / 400.8 MB, free: 71.93 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003641/0.8205, allocations: 1.539 MB / 402.4 MB, free: 70.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.8206, allocations: 8.031 kB / 402.4 MB, free: 70.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.8208, allocations: 89.8 kB / 402.5 MB, free: 70.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.8211, allocations: 202 kB / 402.7 MB, free: 70.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.8238, allocations: 1.131 MB / 403.8 MB, free: 68.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.8239, allocations: 45 kB / 403.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.824, allocations: 47.89 kB / 403.9 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.8251, allocations: 486.3 kB / 404.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.8252, allocations: 0 / 404.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.8252, allocations: 16 kB / 404.4 MB, free: 68.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.8253, allocations: 19.98 kB / 404.4 MB, free: 68.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000932/0.8262, allocations: 410.2 kB / 404.8 MB, free: 67.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.8316, allocations: 2.138 MB / 406.9 MB, free: 65.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/0.8326, allocations: 0.6458 MB / 407.6 MB, free: 64.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.8334, allocations: 490.2 kB / 408.1 MB, free: 64.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/0.8496, allocations: 7.76 MB / 415.8 MB, free: 55.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009797/0.8506, allocations: 266.5 kB / 416.1 MB, free: 55.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 5.621e-06/0.8507, allocations: 4 kB / 416.1 MB, free: 55.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.005793/0.8565, allocations: 1.652 MB / 417.7 MB, free: 53.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.8566, allocations: 71.67 kB / 417.8 MB, free: 53.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.8594, allocations: 1.072 MB / 418.9 MB, free: 52.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.8595, allocations: 33.7 kB / 418.9 MB, free: 52.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.8606, allocations: 0.715 MB / 419.6 MB, free: 51.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.8609, allocations: 205.1 kB / 419.8 MB, free: 51.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.861, allocations: 12 kB / 419.8 MB, free: 51.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.8611, allocations: 330 kB / 420.2 MB, free: 51.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.8618, allocations: 169.6 kB / 420.3 MB, free: 50.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/0.8626, allocations: 326.1 kB / 420.7 MB, free: 50.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.8634, allocations: 219 kB / 420.9 MB, free: 50.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8634, allocations: 3.938 kB / 420.9 MB, free: 50.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003057/0.8665, allocations: 0.8328 MB / 421.7 MB, free: 49.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.8666, allocations: 8 kB / 421.7 MB, free: 49.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.8667, allocations: 59.98 kB / 421.8 MB, free: 49.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/0.8677, allocations: 153.8 kB / 421.9 MB, free: 49.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8689, allocations: 119.8 kB / 422 MB, free: 49.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.8742, allocations: 2.29 MB / 424.3 MB, free: 46.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.8759, allocations: 36.02 kB / 424.4 MB, free: 46.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.8761, allocations: 36 kB / 424.4 MB, free: 46.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.8764, allocations: 141.4 kB / 424.5 MB, free: 46.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.8768, allocations: 181.8 kB / 424.7 MB, free: 46.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.8808, allocations: 0.8513 MB / 425.6 MB, free: 45.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.8809, allocations: 7.938 kB / 425.6 MB, free: 45.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.8809, allocations: 7.984 kB / 425.6 MB, free: 45.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.8809, allocations: 3.953 kB / 425.6 MB, free: 45.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.8831, allocations: 0.8593 MB / 426.4 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001591/0.8833, allocations: 48 kB / 426.5 MB, free: 44.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.8843, allocations: 75.94 kB / 426.6 MB, free: 44.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009658/0.8853, allocations: 150.7 kB / 426.7 MB, free: 44.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8854, allocations: 23.98 kB / 426.7 MB, free: 44.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/0.891, allocations: 2.265 MB / 429 MB, free: 41.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.891, allocations: 0 / 429 MB, free: 41.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.8947, allocations: 0.9749 MB / 430 MB, free: 40.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.8956, allocations: 254.9 kB / 430.2 MB, free: 40.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/0.8961, allocations: 12 kB / 430.2 MB, free: 40.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.8973, allocations: 27.98 kB / 430.3 MB, free: 40.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.8976, allocations: 48.33 kB / 430.3 MB, free: 40.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.8977, allocations: 24.11 kB / 430.3 MB, free: 40.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002359/0.9001, allocations: 0.8267 MB / 431.2 MB, free: 39.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.9001, allocations: 0 / 431.2 MB, free: 39.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00181/0.9019, allocations: 427.6 kB / 431.6 MB, free: 39.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003411/0.9054, allocations: 1.97 MB / 433.5 MB, free: 37.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.9072, allocations: 0.7601 MB / 434.3 MB, free: 36.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9072, allocations: 0 / 434.3 MB, free: 36.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.9085, allocations: 0.553 MB / 434.9 MB, free: 35.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.9096, allocations: 164 kB / 435 MB, free: 35.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.9148, allocations: 2.101 MB / 437.1 MB, free: 33.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.9155, allocations: 1.204 MB / 438.3 MB, free: 32.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008568/0.9164, allocations: 153.5 kB / 438.5 MB, free: 32.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/0.9172, allocations: 0.554 MB / 439 MB, free: 31.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.973e-06/0.9172, allocations: 0 / 439 MB, free: 31.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07212/0.9893, allocations: 27.8 MB / 466.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003876/0.9898, allocations: 162.5 kB / 467 MB, free: 3.582 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/4.881, allocations: 0 / 467 MB, free: 3.582 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat