Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.286e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3161, allocations: 44.49 MB / 294.2 MB, free: 14.03 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.4675, allocations: 85.33 MB / 379.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4679, allocations: 71.97 kB / 379.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4615/0.9294, allocations: 51.54 MB / 431.1 MB, free: 90.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9295, allocations: 0 / 431.1 MB, free: 90.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.9296, allocations: 26.98 kB / 431.2 MB, free: 90.15 MB / 362.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.004893/0.9345, allocations: 1.54 MB / 432.7 MB, free: 89.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.9346, allocations: 8.75 kB / 432.7 MB, free: 89.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.9353, allocations: 205 kB / 432.9 MB, free: 89.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.939, allocations: 1.139 MB / 434 MB, free: 88.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.9391, allocations: 13.41 kB / 434.1 MB, free: 88.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9393, allocations: 29.62 kB / 434.1 MB, free: 88.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/0.9407, allocations: 393.2 kB / 434.5 MB, free: 88.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.9422, allocations: 425.1 kB / 434.9 MB, free: 88.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.9422, allocations: 0 / 434.9 MB, free: 88.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.9423, allocations: 4.594 kB / 434.9 MB, free: 88.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.9424, allocations: 15.86 kB / 434.9 MB, free: 88.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/0.9486, allocations: 2.038 MB / 436.9 MB, free: 88.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.9498, allocations: 0.6357 MB / 437.6 MB, free: 88.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.9508, allocations: 470 kB / 438 MB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/0.9665, allocations: 7.747 MB / 445.8 MB, free: 81.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006859/0.9672, allocations: 255.4 kB / 446 MB, free: 81.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 4.238e-06/0.9672, allocations: 4 kB / 446 MB, free: 81.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.009063/0.9763, allocations: 2.24 MB / 448.3 MB, free: 80.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9764, allocations: 65.23 kB / 448.3 MB, free: 80.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.9787, allocations: 0.9921 MB / 449.3 MB, free: 80.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.382e-05/0.9788, allocations: 25.7 kB / 449.4 MB, free: 80.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.9794, allocations: 0.6268 MB / 450 MB, free: 80.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.9797, allocations: 201.3 kB / 450.2 MB, free: 80.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.9797, allocations: 0 / 450.2 MB, free: 80.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.9798, allocations: 335.7 kB / 450.5 MB, free: 80.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.9802, allocations: 158.7 kB / 450.7 MB, free: 80.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.9807, allocations: 316.4 kB / 451 MB, free: 79.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.9819, allocations: 373.5 kB / 451.3 MB, free: 79.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.9819, allocations: 3.969 kB / 451.3 MB, free: 79.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002118/0.984, allocations: 0.7965 MB / 452.1 MB, free: 79.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.9841, allocations: 7.75 kB / 452.2 MB, free: 79.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.9842, allocations: 61.08 kB / 452.2 MB, free: 79.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.9848, allocations: 146 kB / 452.4 MB, free: 79.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.9856, allocations: 118.7 kB / 452.5 MB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.9889, allocations: 2.231 MB / 454.7 MB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.99, allocations: 16.38 kB / 454.7 MB, free: 78.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/0.9901, allocations: 41.28 kB / 454.8 MB, free: 78.37 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.0001748/0.9903, allocations: 123.4 kB / 454.9 MB, free: 78.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002208/0.9925, allocations: 0.8464 MB / 455.7 MB, free: 78.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.9928, allocations: 176.3 kB / 455.9 MB, free: 78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.9959, allocations: 0.9681 MB / 456.9 MB, free: 77.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.9959, allocations: 5.922 kB / 456.9 MB, free: 77.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9959, allocations: 3.375 kB / 456.9 MB, free: 77.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.9959, allocations: 3.703 kB / 456.9 MB, free: 77.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.9975, allocations: 0.7821 MB / 457.7 MB, free: 77.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001487/0.9977, allocations: 52.61 kB / 457.7 MB, free: 77.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.9983, allocations: 66.64 kB / 457.8 MB, free: 77.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005758/0.9989, allocations: 152.6 kB / 457.9 MB, free: 77.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.999, allocations: 11.97 kB / 457.9 MB, free: 77.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/1.002, allocations: 2.23 MB / 460.2 MB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.002, allocations: 0 / 460.2 MB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/1.005, allocations: 1.1 MB / 461.3 MB, free: 75.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.006, allocations: 251.7 kB / 461.5 MB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/1.006, allocations: 7.078 kB / 461.5 MB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006762/1.007, allocations: 20.47 kB / 461.5 MB, free: 75.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.007, allocations: 52.08 kB / 461.6 MB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/1.007, allocations: 24.2 kB / 461.6 MB, free: 75.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001271/1.008, allocations: 0.7427 MB / 462.4 MB, free: 75.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.008, allocations: 0 / 462.4 MB, free: 75.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001603/1.01, allocations: 394.8 kB / 462.7 MB, free: 74.96 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.00392/1.014, allocations: 2.151 MB / 464.9 MB, free: 73.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/1.016, allocations: 0.749 MB / 465.6 MB, free: 73.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.016, allocations: 0 / 465.6 MB, free: 73.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.017, allocations: 0.5585 MB / 466.2 MB, free: 73.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.018, allocations: 146.6 kB / 466.3 MB, free: 73.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/1.023, allocations: 2.109 MB / 468.5 MB, free: 72.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/1.024, allocations: 1.203 MB / 469.7 MB, free: 71.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/1.025, allocations: 0.5541 MB / 470.2 MB, free: 70.93 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/1.025, allocations: 3.812 kB / 470.2 MB, free: 70.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.09/4.115, allocations: 28.42 MB / 498.6 MB, free: 45.67 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat