Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.653e-05, allocations: 0 / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.5844, allocations: 92.76 MB / 435.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5848, allocations: 73.42 kB / 435.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1911/0.7759, allocations: 57.98 MB / 493.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7759, allocations: 0 / 493.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.731e-05/0.776, allocations: 24 kB / 493.5 MB, free: 12.03 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.003632/0.7797, allocations: 1.54 MB / 495 MB, free: 10.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7798, allocations: 12.03 kB / 495 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.7799, allocations: 90.52 kB / 495.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.7803, allocations: 193.8 kB / 495.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.7831, allocations: 1.154 MB / 496.4 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.7831, allocations: 29 kB / 496.5 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.7833, allocations: 47.94 kB / 496.5 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.7845, allocations: 478.3 kB / 497 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.7845, allocations: 0 / 497 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.7846, allocations: 20 kB / 497 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.7847, allocations: 15.98 kB / 497 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7857, allocations: 414.2 kB / 497.4 MB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.7906, allocations: 2.13 MB / 499.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.7918, allocations: 0.6496 MB / 0.4885 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.7928, allocations: 498.5 kB / 0.489 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.8066, allocations: 7.749 MB / 0.4965 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006375/0.8073, allocations: 270.5 kB / 0.4968 GB, free: 11.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 3.426e-06/0.8073, allocations: 0 / 0.4968 GB, free: 11.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.004157/0.8115, allocations: 1.664 MB / 0.4984 GB, free: 9.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.8116, allocations: 59.84 kB / 0.4985 GB, free: 9.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.8137, allocations: 1.072 MB / 0.4995 GB, free: 8.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.8139, allocations: 33.7 kB / 0.4995 GB, free: 8.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.8146, allocations: 0.6392 MB / 0.5002 GB, free: 7.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.8149, allocations: 201.1 kB / 0.5004 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.815, allocations: 12 kB / 0.5004 GB, free: 7.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8151, allocations: 342.8 kB / 0.5007 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.8156, allocations: 161.6 kB / 0.5009 GB, free: 7.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.8163, allocations: 330 kB / 0.5012 GB, free: 6.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.8169, allocations: 215.1 kB / 0.5014 GB, free: 6.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.8169, allocations: 0 / 0.5014 GB, free: 6.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001894/0.8188, allocations: 0.7013 MB / 0.5021 GB, free: 5.758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.8189, allocations: 8 kB / 0.5021 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.819, allocations: 55.98 kB / 0.5021 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.8197, allocations: 153.3 kB / 0.5023 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.8206, allocations: 119.8 kB / 0.5024 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.8246, allocations: 2.291 MB / 0.5046 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8257, allocations: 36.03 kB / 0.5046 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.8258, allocations: 32 kB / 0.5047 GB, free: 2.938 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.0002065/0.826, allocations: 138 kB / 0.5048 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.8263, allocations: 181.9 kB / 0.505 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.8292, allocations: 0.8513 MB / 0.5058 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.8292, allocations: 8 kB / 0.5058 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8292, allocations: 0 / 0.5058 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8292, allocations: 0 / 0.5058 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.8309, allocations: 0.8631 MB / 0.5067 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001271/0.831, allocations: 55.98 kB / 0.5067 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.8316, allocations: 67.89 kB / 0.5068 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006297/0.8323, allocations: 148.7 kB / 0.5069 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.8323, allocations: 19.98 kB / 0.5069 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004526/0.8369, allocations: 2.279 MB / 0.5092 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8369, allocations: 0 / 0.5092 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.8397, allocations: 0.9789 MB / 0.5101 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.8402, allocations: 246.9 kB / 0.5104 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.8405, allocations: 12 kB / 0.5104 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.8412, allocations: 27.98 kB / 0.5104 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.8414, allocations: 48.31 kB / 0.5104 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.8415, allocations: 27.98 kB / 0.5105 GB, free: 12.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.8433, allocations: 0.8267 MB / 0.5113 GB, free: 11.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8433, allocations: 0 / 0.5113 GB, free: 11.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001804/0.8451, allocations: 427.5 kB / 0.5117 GB, free: 11.52 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.003963/0.8491, allocations: 1.969 MB / 0.5136 GB, free: 9.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.8511, allocations: 0.756 MB / 0.5143 GB, free: 8.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8512, allocations: 0 / 0.5143 GB, free: 8.738 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.8526, allocations: 0.5569 MB / 0.5149 GB, free: 8.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.854, allocations: 178.3 kB / 0.5151 GB, free: 7.984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/0.8596, allocations: 2.165 MB / 0.5172 GB, free: 5.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.8606, allocations: 1.2 MB / 0.5183 GB, free: 4.539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.8616, allocations: 0.5618 MB / 0.5189 GB, free: 3.977 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8616, allocations: 0 / 0.5189 GB, free: 3.977 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.304/4.166, allocations: 28.39 MB / 0.5466 GB, free: 115.8 MB / 442.7 MB