Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.243e-05/5.257e-05, allocations: 11.98 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.6343, allocations: 92.68 MB / 435.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.6347, allocations: 73.39 kB / 435.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2328/0.8676, allocations: 57.97 MB / 493.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8676, allocations: 0 / 493.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.8678, allocations: 24 kB / 493.4 MB, free: 11.89 MB / 410.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.004761/0.8726, allocations: 1.554 MB / 494.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.8727, allocations: 8.031 kB / 494.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.873, allocations: 90.52 kB / 495 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.8735, allocations: 193.8 kB / 495.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.8769, allocations: 1.151 MB / 496.4 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.927e-05/0.877, allocations: 33 kB / 496.4 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/0.8773, allocations: 44 kB / 496.4 MB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.8788, allocations: 486.3 kB / 496.9 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.8789, allocations: 0 / 496.9 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.8789, allocations: 16 kB / 496.9 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.879, allocations: 15.98 kB / 497 MB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.8802, allocations: 410.2 kB / 497.4 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006225/0.8865, allocations: 2.13 MB / 499.5 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.8881, allocations: 0.6535 MB / 0.4884 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.8894, allocations: 497.1 kB / 0.4889 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/0.9048, allocations: 7.753 MB / 0.4965 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007428/0.9056, allocations: 258.6 kB / 0.4967 GB, free: 11.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 4.208e-06/0.9057, allocations: 0 / 0.4967 GB, free: 11.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.005113/0.9108, allocations: 1.671 MB / 0.4983 GB, free: 9.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.9109, allocations: 59.83 kB / 0.4984 GB, free: 9.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.9136, allocations: 1.072 MB / 0.4994 GB, free: 8.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.9138, allocations: 37.7 kB / 0.4995 GB, free: 8.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.9148, allocations: 0.715 MB / 0.5002 GB, free: 7.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.9153, allocations: 197.1 kB / 0.5004 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.9153, allocations: 12 kB / 0.5004 GB, free: 7.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9155, allocations: 337.9 kB / 0.5007 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.9161, allocations: 173.5 kB / 0.5009 GB, free: 6.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.9168, allocations: 326.1 kB / 0.5012 GB, free: 6.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.9175, allocations: 215.1 kB / 0.5014 GB, free: 6.246 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9175, allocations: 7.891 kB / 0.5014 GB, free: 6.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002566/0.9201, allocations: 0.833 MB / 0.5022 GB, free: 5.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.9202, allocations: 15.88 kB / 0.5022 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.9203, allocations: 55.98 kB / 0.5023 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.9211, allocations: 156.4 kB / 0.5024 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.9221, allocations: 115.9 kB / 0.5025 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.9268, allocations: 2.298 MB / 0.5048 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.9281, allocations: 28.03 kB / 0.5048 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.9283, allocations: 32 kB / 0.5048 GB, free: 2.57 MB / 426.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.0002557/0.9285, allocations: 145.3 kB / 0.505 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.929, allocations: 185.8 kB / 0.5051 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/0.9323, allocations: 0.8475 MB / 0.506 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.9323, allocations: 4 kB / 0.506 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.9323, allocations: 4 kB / 0.506 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.9324, allocations: 0 / 0.506 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.9347, allocations: 0.8631 MB / 0.5068 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000183/0.9349, allocations: 51.98 kB / 0.5069 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.9356, allocations: 67.95 kB / 0.5069 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007035/0.9363, allocations: 156 kB / 0.5071 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.9365, allocations: 12 kB / 0.5071 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004595/0.9411, allocations: 2.279 MB / 0.5093 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9412, allocations: 0 / 0.5093 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.9443, allocations: 0.9788 MB / 0.5103 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.9452, allocations: 247 kB / 0.5105 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.9455, allocations: 12 kB / 0.5105 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/0.9463, allocations: 19.98 kB / 0.5105 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.9466, allocations: 52.38 kB / 0.5106 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.9467, allocations: 23.98 kB / 0.5106 GB, free: 12.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002008/0.9487, allocations: 0.8306 MB / 0.5114 GB, free: 11.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.213e-06/0.9488, allocations: 3.938 kB / 0.5114 GB, free: 11.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00208/0.9509, allocations: 427.5 kB / 0.5118 GB, free: 11.15 MB / 442.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.004685/0.9556, allocations: 1.962 MB / 0.5138 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.9581, allocations: 0.7597 MB / 0.5145 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.9582, allocations: 0 / 0.5145 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.9599, allocations: 0.5571 MB / 0.515 GB, free: 7.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.9616, allocations: 182.2 kB / 0.5152 GB, free: 7.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.9698, allocations: 2.124 MB / 0.5173 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.972, allocations: 1.2 MB / 0.5185 GB, free: 4.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001701/0.9738, allocations: 153.5 kB / 0.5186 GB, free: 4.059 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.9757, allocations: 0.554 MB / 0.5192 GB, free: 3.504 MB / 442.7 MB Notification: Performance of SimCode: time 2.424e-06/0.9757, allocations: 0 / 0.5192 GB, free: 3.504 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4673/1.443, allocations: 27.83 MB / 0.5463 GB, free: 116.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/1.443, allocations: 171.3 kB / 0.5465 GB, free: 115.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/5.334, allocations: 3.406 kB / 0.5465 GB, free: 115.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat