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.763/1.763, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.949e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4055, allocations: 81.86 MB / 345.7 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4059, allocations: 83.89 kB / 345.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4486/0.8544, allocations: 55 MB / 400.8 MB, free: 72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8545, allocations: 4 kB / 400.8 MB, free: 72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.772e-05/0.8546, allocations: 24 kB / 400.8 MB, free: 71.98 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.003678/0.8583, allocations: 1.539 MB / 402.3 MB, free: 70.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.8584, allocations: 12.03 kB / 402.4 MB, free: 70.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.8586, allocations: 90.5 kB / 402.4 MB, free: 70.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.859, allocations: 205.9 kB / 402.6 MB, free: 70.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.8617, allocations: 1.128 MB / 403.8 MB, free: 68.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.8618, allocations: 44.98 kB / 403.8 MB, free: 68.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.862, allocations: 47.91 kB / 403.9 MB, free: 68.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.8631, allocations: 488.3 kB / 404.3 MB, free: 68.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.8632, allocations: 0 / 404.3 MB, free: 68.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.8632, allocations: 20 kB / 404.4 MB, free: 68.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.8633, allocations: 19.98 kB / 404.4 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.8642, allocations: 416.2 kB / 404.8 MB, free: 67.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004913/0.8692, allocations: 2.142 MB / 406.9 MB, free: 65.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.8702, allocations: 0.6474 MB / 407.6 MB, free: 64.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008346/0.8711, allocations: 486.2 kB / 408 MB, free: 64.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.8833, allocations: 7.764 MB / 415.8 MB, free: 55.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.884, allocations: 262.5 kB / 416.1 MB, free: 55.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.977e-06/0.884, allocations: 4 kB / 416.1 MB, free: 55.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.003889/0.8879, allocations: 1.675 MB / 417.7 MB, free: 53.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.888, allocations: 63.73 kB / 417.8 MB, free: 53.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.8899, allocations: 1.068 MB / 418.9 MB, free: 52.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.89, allocations: 37.7 kB / 418.9 MB, free: 52.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.8907, allocations: 0.715 MB / 419.6 MB, free: 51.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.891, allocations: 197.1 kB / 419.8 MB, free: 51.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.8911, allocations: 12 kB / 419.8 MB, free: 51.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.8912, allocations: 334 kB / 420.2 MB, free: 51.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.8916, allocations: 169.5 kB / 420.3 MB, free: 50.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.8921, allocations: 331.6 kB / 420.6 MB, free: 50.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.8926, allocations: 219 kB / 420.9 MB, free: 50.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8927, allocations: 3.984 kB / 420.9 MB, free: 50.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001976/0.8946, allocations: 0.8482 MB / 421.7 MB, free: 49.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.8947, allocations: 8 kB / 421.7 MB, free: 49.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.8948, allocations: 59.98 kB / 421.8 MB, free: 49.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.8955, allocations: 158.5 kB / 421.9 MB, free: 49.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.8963, allocations: 123.8 kB / 422.1 MB, free: 49.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.8998, allocations: 2.282 MB / 424.3 MB, free: 46.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.9009, allocations: 36.03 kB / 424.4 MB, free: 46.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.9011, allocations: 32 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.0001867/0.9013, allocations: 141.4 kB / 424.5 MB, free: 46.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.9015, allocations: 177.9 kB / 424.7 MB, free: 46.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.9041, allocations: 0.8591 MB / 425.6 MB, free: 45.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.9042, allocations: 4 kB / 425.6 MB, free: 45.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9042, allocations: 4 kB / 425.6 MB, free: 45.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.9042, allocations: 3.953 kB / 425.6 MB, free: 45.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.9059, allocations: 0.8631 MB / 426.5 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/0.906, allocations: 55.98 kB / 426.5 MB, free: 44.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.9066, allocations: 63.95 kB / 426.6 MB, free: 44.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/0.9072, allocations: 159 kB / 426.7 MB, free: 44.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/0.9073, allocations: 16 kB / 426.7 MB, free: 44.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.9109, allocations: 2.265 MB / 429 MB, free: 41.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.911, allocations: 0 / 429 MB, free: 41.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.9149, allocations: 0.9865 MB / 430 MB, free: 40.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.9156, allocations: 247 kB / 430.2 MB, free: 40.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.9158, allocations: 8 kB / 430.2 MB, free: 40.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.9166, allocations: 27.98 kB / 430.3 MB, free: 40.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.9168, allocations: 48.33 kB / 430.3 MB, free: 40.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.9169, allocations: 27.98 kB / 430.3 MB, free: 40.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001511/0.9184, allocations: 0.8306 MB / 431.2 MB, free: 39.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9184, allocations: 0 / 431.2 MB, free: 39.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001647/0.9201, allocations: 419.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.003529/0.9237, allocations: 1.975 MB / 433.6 MB, free: 37.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.9256, allocations: 0.7743 MB / 434.3 MB, free: 36.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9257, allocations: 4.062 kB / 434.3 MB, free: 36.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.927, allocations: 0.5664 MB / 434.9 MB, free: 35.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.928, allocations: 154.3 kB / 435.1 MB, free: 35.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.9335, allocations: 2.117 MB / 437.2 MB, free: 33.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.9341, allocations: 1.2 MB / 438.4 MB, free: 32.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000831/0.935, allocations: 149.5 kB / 438.5 MB, free: 32.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.9363, allocations: 0.5617 MB / 439.1 MB, free: 31.52 MB / 314.7 MB Notification: Performance of SimCode: time 2.425e-06/0.9363, allocations: 0 / 439.1 MB, free: 31.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07606/1.012, allocations: 27.82 MB / 466.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.013, allocations: 171.7 kB / 467.1 MB, free: 3.508 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/4.876, allocations: 0 / 467.1 MB, free: 3.508 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