Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.071e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5788, allocations: 90.28 MB / 407.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5791, allocations: 71.53 kB / 407.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1774/0.7566, allocations: 54.38 MB / 461.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7566, allocations: 0 / 461.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.509e-05/0.7567, allocations: 24 kB / 461.8 MB, free: 14.62 MB / 378.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.00381/0.7605, allocations: 1.543 MB / 463.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.7606, allocations: 16.03 kB / 463.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.7608, allocations: 91.61 kB / 463.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.7612, allocations: 201.6 kB / 463.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.7641, allocations: 1.139 MB / 464.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.7642, allocations: 33 kB / 464.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7643, allocations: 44 kB / 464.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.7657, allocations: 478.3 kB / 465.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7657, allocations: 3.984 kB / 465.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.7658, allocations: 16 kB / 465.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.7658, allocations: 27.89 kB / 465.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.767, allocations: 406.2 kB / 465.7 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.7722, allocations: 2.128 MB / 467.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.7734, allocations: 0.638 MB / 468.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/0.7744, allocations: 498 kB / 469 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.7885, allocations: 7.744 MB / 476.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006661/0.7892, allocations: 266.5 kB / 477 MB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=55): time 3.106e-06/0.7892, allocations: 3.938 kB / 477 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.004541/0.7938, allocations: 1.668 MB / 478.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7939, allocations: 59.84 kB / 478.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.796, allocations: 1.076 MB / 479.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.7961, allocations: 37.7 kB / 479.8 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00096/0.7971, allocations: 0.7111 MB / 480.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.7974, allocations: 197.2 kB / 480.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.7974, allocations: 16 kB / 480.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7976, allocations: 330 kB / 481.1 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.7982, allocations: 165.6 kB / 481.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.7988, allocations: 330.2 kB / 481.6 MB, free: 9.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.7994, allocations: 219.9 kB / 481.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7994, allocations: 0 / 481.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002258/0.8017, allocations: 0.8402 MB / 482.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.8018, allocations: 8 kB / 482.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/0.8019, allocations: 63.94 kB / 482.7 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/0.8026, allocations: 149.3 kB / 482.8 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.8035, allocations: 115.8 kB / 482.9 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.8076, allocations: 2.295 MB / 485.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.8086, allocations: 36.02 kB / 485.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/0.8087, allocations: 32 kB / 485.3 MB, free: 5.301 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vcs:VARIABLE(unit = "V" ) type: Real T1.vcs:VARIABLE(unit = "V" ) type: Real 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.0002676/0.809, allocations: 144.8 kB / 485.5 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.8093, allocations: 181.8 kB / 485.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.8122, allocations: 0.8397 MB / 486.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.8122, allocations: 7.984 kB / 486.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.8122, allocations: 11.95 kB / 486.5 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.8122, allocations: 3.938 kB / 486.5 MB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.814, allocations: 0.8592 MB / 487.4 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001235/0.8141, allocations: 48 kB / 487.4 MB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.8147, allocations: 75.88 kB / 487.5 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006196/0.8153, allocations: 140.8 kB / 487.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.8154, allocations: 27.94 kB / 487.6 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.8194, allocations: 2.266 MB / 489.9 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8194, allocations: 4 kB / 489.9 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.822, allocations: 0.9711 MB / 490.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.8226, allocations: 255 kB / 491.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8228, allocations: 12 kB / 491.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.8235, allocations: 27.88 kB / 491.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.8237, allocations: 48.45 kB / 491.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.8238, allocations: 23.98 kB / 491.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001704/0.8255, allocations: 0.8345 MB / 492.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8256, allocations: 0 / 492.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001706/0.8273, allocations: 431.5 kB / 492.5 MB, free: 13.88 MB / 410.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.003974/0.8313, allocations: 1.958 MB / 494.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.8334, allocations: 0.7755 MB / 495.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8334, allocations: 0 / 495.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.8348, allocations: 0.5492 MB / 495.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.8359, allocations: 156.3 kB / 495.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.8416, allocations: 2.113 MB / 498 MB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009994/0.8427, allocations: 1.2 MB / 499.2 MB, free: 6.969 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009293/0.8436, allocations: 157.5 kB / 499.4 MB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009505/0.8446, allocations: 0.554 MB / 499.9 MB, free: 6.258 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.8446, allocations: 0 / 499.9 MB, free: 6.258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3637/1.208, allocations: 27.76 MB / 0.5153 GB, free: 119.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.209, allocations: 173.6 kB / 0.5155 GB, free: 119.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.479/4.687, allocations: 5.281 kB / 0.5155 GB, free: 119.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat