Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.009e-05, allocations: 3.109 kB / 249.8 MB, free: 5.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5556, allocations: 85.33 MB / 379.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5559, allocations: 75.67 kB / 379.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1891/0.745, allocations: 51.54 MB / 431.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7451, allocations: 0 / 431.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.193e-05/0.7452, allocations: 31.67 kB / 431.3 MB, free: 7.254 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.003981/0.7492, allocations: 1.545 MB / 432.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.7492, allocations: 8.031 kB / 432.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.7496, allocations: 193.8 kB / 433 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/0.7526, allocations: 1.139 MB / 434.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.7527, allocations: 16 kB / 434.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.7528, allocations: 31.98 kB / 434.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00117/0.754, allocations: 402.8 kB / 434.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.7552, allocations: 431.8 kB / 435 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.7553, allocations: 0 / 435 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.7553, allocations: 0 / 435 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.7554, allocations: 16 kB / 435 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005536/0.7609, allocations: 2.03 MB / 437 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.7621, allocations: 0.6254 MB / 437.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009985/0.7631, allocations: 470.2 kB / 438.1 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/0.7783, allocations: 7.74 MB / 445.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.779, allocations: 257.3 kB / 446.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.797e-06/0.779, allocations: 0 / 446.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.007593/0.7866, allocations: 2.241 MB / 448.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.7867, allocations: 65.8 kB / 448.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.7888, allocations: 0.9864 MB / 449.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.7889, allocations: 29.64 kB / 449.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/0.7898, allocations: 0.7073 MB / 450.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.7901, allocations: 201 kB / 450.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.7902, allocations: 0 / 450.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7903, allocations: 334 kB / 450.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.7908, allocations: 157.6 kB / 450.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.7914, allocations: 310.1 kB / 451.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.7929, allocations: 370.5 kB / 451.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7929, allocations: 0 / 451.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003111/0.796, allocations: 0.9572 MB / 452.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.7961, allocations: 15.89 kB / 452.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/0.7963, allocations: 60.61 kB / 452.5 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.797, allocations: 141.9 kB / 452.7 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.798, allocations: 123.8 kB / 452.8 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.8024, allocations: 2.229 MB / 455 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.8036, allocations: 19.98 kB / 455 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8037, allocations: 32.06 kB / 455.1 MB, free: 13.81 MB / 362.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.0002251/0.8039, allocations: 132.5 kB / 455.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002766/0.8067, allocations: 0.8404 MB / 456 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.807, allocations: 181.8 kB / 456.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.8108, allocations: 0.9667 MB / 457.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.8109, allocations: 8 kB / 457.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8109, allocations: 4 kB / 457.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8109, allocations: 7.984 kB / 457.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.8127, allocations: 0.7868 MB / 458 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001713/0.8129, allocations: 51.98 kB / 458 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.8136, allocations: 63.89 kB / 458.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/0.8143, allocations: 146.5 kB / 458.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.8143, allocations: 15.98 kB / 458.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004134/0.8185, allocations: 2.222 MB / 460.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8185, allocations: 7.953 kB / 460.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.8219, allocations: 1.102 MB / 461.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.8226, allocations: 258.8 kB / 461.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.8229, allocations: 96 / 461.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.8236, allocations: 19.98 kB / 461.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.8239, allocations: 52.3 kB / 461.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.824, allocations: 24.11 kB / 461.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001579/0.8256, allocations: 0.7487 MB / 462.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8256, allocations: 0 / 462.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001775/0.8274, allocations: 399.5 kB / 463.1 MB, free: 5.602 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.00492/0.8323, allocations: 2.145 MB / 465.2 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.8347, allocations: 0.7519 MB / 466 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8347, allocations: 0 / 466 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.8363, allocations: 0.5452 MB / 466.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.8375, allocations: 150.3 kB / 466.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.844, allocations: 2.072 MB / 468.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.8451, allocations: 1.2 MB / 469.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009809/0.8461, allocations: 157.5 kB / 470.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.8472, allocations: 0.5539 MB / 470.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8472, allocations: 0 / 470.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/0.9595, allocations: 24.25 MB / 494.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006197/0.9602, allocations: 141.4 kB / 495 MB, free: 5.492 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.147/5.107, allocations: 0 / 495 MB, free: 5.492 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat