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.702/1.702, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.468e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.4429, allocations: 81.18 MB / 339.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.4434, allocations: 75.91 kB / 339.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4339/0.8773, allocations: 52.14 MB / 391.7 MB, free: 79.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.8773, allocations: 0 / 391.7 MB, free: 79.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.171e-05/0.8774, allocations: 22.97 kB / 391.8 MB, free: 79.7 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.003345/0.8808, allocations: 1.542 MB / 393.3 MB, free: 78.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.8808, allocations: 10.5 kB / 393.3 MB, free: 78.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.8812, allocations: 199.2 kB / 393.5 MB, free: 78.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.8838, allocations: 1.146 MB / 394.6 MB, free: 78.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.8838, allocations: 12.66 kB / 394.7 MB, free: 78.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.884, allocations: 30.81 kB / 394.7 MB, free: 78.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009545/0.8849, allocations: 389.6 kB / 395.1 MB, free: 77.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.8859, allocations: 422.2 kB / 395.5 MB, free: 77.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.8859, allocations: 4 kB / 395.5 MB, free: 77.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.886, allocations: 0 / 395.5 MB, free: 77.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.886, allocations: 20.27 kB / 395.5 MB, free: 77.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.8905, allocations: 2.048 MB / 397.6 MB, free: 75.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.8914, allocations: 0.6369 MB / 398.2 MB, free: 75.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.8922, allocations: 470.2 kB / 398.7 MB, free: 74.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.9044, allocations: 7.74 MB / 406.4 MB, free: 65.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.905, allocations: 254.5 kB / 406.6 MB, free: 65.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.667e-06/0.905, allocations: 0 / 406.6 MB, free: 65.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.006392/0.9114, allocations: 2.237 MB / 408.9 MB, free: 63.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.9115, allocations: 59.84 kB / 408.9 MB, free: 63.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.9131, allocations: 0.9903 MB / 409.9 MB, free: 62.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.9132, allocations: 29.7 kB / 410 MB, free: 62.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/0.9139, allocations: 0.7111 MB / 410.7 MB, free: 61.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.9141, allocations: 201 kB / 410.9 MB, free: 61.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.9142, allocations: 0 / 410.9 MB, free: 61.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.9142, allocations: 336.1 kB / 411.2 MB, free: 60.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.9146, allocations: 153.6 kB / 411.3 MB, free: 60.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.9151, allocations: 322.1 kB / 411.7 MB, free: 60.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.9163, allocations: 365.8 kB / 412 MB, free: 59.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9163, allocations: 0 / 412 MB, free: 59.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002555/0.9189, allocations: 0.9572 MB / 413 MB, free: 58.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.919, allocations: 8 kB / 413 MB, free: 58.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/0.9191, allocations: 55.98 kB / 413 MB, free: 58.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/0.9197, allocations: 152 kB / 413.2 MB, free: 58.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.9205, allocations: 119.8 kB / 413.3 MB, free: 58.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.9238, allocations: 2.236 MB / 415.5 MB, free: 56.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.9249, allocations: 24.05 kB / 415.6 MB, free: 56.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.925, allocations: 28 kB / 415.6 MB, free: 56.27 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.9252, allocations: 116.9 kB / 415.7 MB, free: 56.14 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00233/0.9275, allocations: 0.8481 MB / 416.5 MB, free: 55.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.9278, allocations: 177.9 kB / 416.7 MB, free: 55.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.9309, allocations: 0.9684 MB / 417.7 MB, free: 54.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.931, allocations: 4 kB / 417.7 MB, free: 54.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.931, allocations: 7.953 kB / 417.7 MB, free: 54.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.931, allocations: 3.984 kB / 417.7 MB, free: 54.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.9325, allocations: 0.7849 MB / 418.5 MB, free: 53.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001349/0.9327, allocations: 55.98 kB / 418.5 MB, free: 53.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.9333, allocations: 59.95 kB / 418.6 MB, free: 53.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.9338, allocations: 151.8 kB / 418.8 MB, free: 53.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.9339, allocations: 19.92 kB / 418.8 MB, free: 53.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.9371, allocations: 2.219 MB / 421 MB, free: 50.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9372, allocations: 3.938 kB / 421 MB, free: 50.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.9399, allocations: 1.104 MB / 422.1 MB, free: 49.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.9405, allocations: 250.9 kB / 422.3 MB, free: 49.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.9408, allocations: 8 kB / 422.3 MB, free: 49.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006543/0.9415, allocations: 15.98 kB / 422.4 MB, free: 49.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.9417, allocations: 44.38 kB / 422.4 MB, free: 49.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.9418, allocations: 23.98 kB / 422.4 MB, free: 49.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.943, allocations: 0.7486 MB / 423.2 MB, free: 48.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.943, allocations: 0 / 423.2 MB, free: 48.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001622/0.9447, allocations: 399.5 kB / 423.6 MB, free: 48.07 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.003911/0.9486, allocations: 2.143 MB / 425.7 MB, free: 45.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.9504, allocations: 0.7557 MB / 426.5 MB, free: 45.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9505, allocations: 0 / 426.5 MB, free: 45.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.9517, allocations: 0.5569 MB / 427 MB, free: 44.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.9527, allocations: 150.3 kB / 427.2 MB, free: 44.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.9578, allocations: 2.052 MB / 429.2 MB, free: 42.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.9585, allocations: 1.208 MB / 430.4 MB, free: 41.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008564/0.9594, allocations: 153.5 kB / 430.6 MB, free: 40.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/0.9602, allocations: 0.5578 MB / 431.1 MB, free: 40.4 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.9602, allocations: 0 / 431.1 MB, free: 40.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09256/1.053, allocations: 24.24 MB / 455.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/1.053, allocations: 136.5 kB / 455.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.806/4.859, allocations: 0 / 455.5 MB, free: 15.96 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