Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.927e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.0987, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5708, allocations: 85.99 MB / 386 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5711, allocations: 72.12 kB / 386 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1672/0.7384, allocations: 54.41 MB / 440.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.7384, allocations: 0 / 440.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.7386, allocations: 24 kB / 440.5 MB, free: 10.34 MB / 330.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.004469/0.7431, allocations: 1.555 MB / 442 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.7431, allocations: 8.031 kB / 442 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.7434, allocations: 90.83 kB / 442.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.7438, allocations: 193.8 kB / 442.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.7469, allocations: 1.136 MB / 443.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.7471, allocations: 31.38 kB / 443.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.7473, allocations: 46.33 kB / 443.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.7486, allocations: 489.9 kB / 444 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.7487, allocations: 0 / 444 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.7488, allocations: 21.38 kB / 444 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.7488, allocations: 19.3 kB / 444.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.75, allocations: 410.2 kB / 444.5 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/0.7555, allocations: 2.122 MB / 446.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.7567, allocations: 0.6484 MB / 447.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.7578, allocations: 494.7 kB / 447.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.7729, allocations: 7.753 MB / 455.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.7736, allocations: 262.6 kB / 455.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 4.749e-06/0.7737, allocations: 0 / 455.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.005114/0.7788, allocations: 1.679 MB / 457.4 MB, free: 9.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.7789, allocations: 59.78 kB / 457.5 MB, free: 9.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.7814, allocations: 1.076 MB / 458.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.7816, allocations: 37.7 kB / 458.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/0.7825, allocations: 0.7034 MB / 459.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.7828, allocations: 209 kB / 459.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.7829, allocations: 12 kB / 459.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7831, allocations: 330 kB / 459.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.7836, allocations: 169.6 kB / 460 MB, free: 7.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.7843, allocations: 326.1 kB / 460.3 MB, free: 6.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.7849, allocations: 223 kB / 460.5 MB, free: 6.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.7849, allocations: 3.938 kB / 460.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00239/0.7873, allocations: 0.8329 MB / 461.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.7874, allocations: 8.625 kB / 461.4 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/0.7876, allocations: 64.05 kB / 461.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/0.7883, allocations: 146.8 kB / 461.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000911/0.7892, allocations: 123.8 kB / 461.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.7936, allocations: 2.288 MB / 464 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.7948, allocations: 32.02 kB / 464 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.795, allocations: 35.94 kB / 464 MB, free: 2.797 MB / 346.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.0002358/0.7952, allocations: 147.9 kB / 464.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.7956, allocations: 178 kB / 464.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.7987, allocations: 0.8512 MB / 465.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.7988, allocations: 7.938 kB / 465.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.7988, allocations: 7.984 kB / 465.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7989, allocations: 0 / 465.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.801, allocations: 0.8709 MB / 466.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001409/0.8012, allocations: 48 kB / 466.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.8019, allocations: 67.94 kB / 466.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006775/0.8026, allocations: 152.6 kB / 466.4 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.8027, allocations: 19.98 kB / 466.4 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/0.807, allocations: 2.268 MB / 468.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8071, allocations: 3.953 kB / 468.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.8098, allocations: 0.971 MB / 469.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.8106, allocations: 259 kB / 469.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.8109, allocations: 4 kB / 469.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8116, allocations: 27.98 kB / 469.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.8118, allocations: 44.38 kB / 469.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.8119, allocations: 27.98 kB / 470 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001891/0.8138, allocations: 0.8267 MB / 470.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.8139, allocations: 0 / 470.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001892/0.8158, allocations: 427.5 kB / 471.2 MB, free: 11.38 MB / 362.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.004275/0.8201, allocations: 1.962 MB / 473.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.8224, allocations: 0.76 MB / 473.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8225, allocations: 0 / 473.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.8241, allocations: 0.5569 MB / 474.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.8254, allocations: 158.2 kB / 474.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.8321, allocations: 2.101 MB / 476.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/0.8331, allocations: 1.204 MB / 478 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.8341, allocations: 157.5 kB / 478.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.8352, allocations: 0.554 MB / 478.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.8352, allocations: 0 / 478.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/0.9537, allocations: 27.8 MB / 0.4946 GB, free: 7.992 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.9541, allocations: 166.4 kB / 0.4948 GB, free: 7.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.883/4.837, allocations: 0 / 0.4948 GB, free: 7.77 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat