Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.698e-05, allocations: 4.984 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.5879, allocations: 92.68 MB / 435.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5882, allocations: 70.59 kB / 435.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2126/0.8008, allocations: 57.96 MB / 493.9 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.734e-06/0.8009, allocations: 7.922 kB / 493.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.801, allocations: 24 kB / 493.9 MB, free: 11.92 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.005034/0.8061, allocations: 1.554 MB / 495.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.8062, allocations: 8.031 kB / 495.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.8064, allocations: 86.52 kB / 495.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.8069, allocations: 193.8 kB / 495.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.8104, allocations: 1.151 MB / 496.9 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.8105, allocations: 29 kB / 496.9 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.8106, allocations: 51.94 kB / 497 MB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.8119, allocations: 478.3 kB / 497.4 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.812, allocations: 4 kB / 497.4 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.8121, allocations: 16 kB / 497.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.8121, allocations: 15.98 kB / 497.5 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.8132, allocations: 410.2 kB / 497.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.8184, allocations: 2.134 MB / 0.4883 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.8197, allocations: 0.6497 MB / 0.4889 GB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.8207, allocations: 498.6 kB / 0.4894 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/0.8352, allocations: 7.753 MB / 0.497 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006834/0.836, allocations: 266.5 kB / 0.4972 GB, free: 11.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 4.087e-06/0.836, allocations: 0 / 0.4972 GB, free: 11.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.004261/0.8403, allocations: 1.671 MB / 0.4989 GB, free: 9.469 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.8403, allocations: 59.83 kB / 0.4989 GB, free: 9.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.8425, allocations: 1.072 MB / 0.5 GB, free: 8.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.8426, allocations: 33.7 kB / 0.5 GB, free: 8.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000945/0.8435, allocations: 0.715 MB / 0.5007 GB, free: 7.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.8438, allocations: 197.1 kB / 0.5009 GB, free: 7.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.8439, allocations: 16 kB / 0.5009 GB, free: 7.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.844, allocations: 333.9 kB / 0.5012 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.8445, allocations: 173.5 kB / 0.5014 GB, free: 6.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/0.8452, allocations: 322.1 kB / 0.5017 GB, free: 6.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.8458, allocations: 219 kB / 0.5019 GB, free: 6.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.8458, allocations: 3.953 kB / 0.5019 GB, free: 6.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00215/0.848, allocations: 0.833 MB / 0.5027 GB, free: 5.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.848, allocations: 15.94 kB / 0.5027 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.8482, allocations: 59.98 kB / 0.5028 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.8489, allocations: 148.7 kB / 0.5029 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.8497, allocations: 115.9 kB / 0.503 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.8539, allocations: 2.294 MB / 0.5053 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/0.8548, allocations: 32.03 kB / 0.5053 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.855, allocations: 32 kB / 0.5053 GB, free: 2.594 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.0002009/0.8552, allocations: 140.8 kB / 0.5055 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.8555, allocations: 185.8 kB / 0.5056 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.8583, allocations: 0.8475 MB / 0.5065 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.8583, allocations: 4 kB / 0.5065 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.8583, allocations: 8 kB / 0.5065 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8584, allocations: 0 / 0.5065 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.86, allocations: 0.8631 MB / 0.5073 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001229/0.8601, allocations: 51.98 kB / 0.5074 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.8608, allocations: 67.95 kB / 0.5074 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006211/0.8614, allocations: 148.7 kB / 0.5076 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.8615, allocations: 16 kB / 0.5076 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004088/0.8656, allocations: 2.275 MB / 0.5098 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.8656, allocations: 3.984 kB / 0.5098 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.8682, allocations: 0.9749 MB / 0.5108 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/0.8688, allocations: 247 kB / 0.511 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.8691, allocations: 12 kB / 0.511 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.8698, allocations: 23.98 kB / 0.511 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.87, allocations: 52.38 kB / 0.5111 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.8701, allocations: 19.98 kB / 0.5111 GB, free: 12.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001706/0.8718, allocations: 0.8306 MB / 0.5119 GB, free: 11.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8718, allocations: 3.938 kB / 0.5119 GB, free: 11.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001724/0.8735, allocations: 431.5 kB / 0.5123 GB, free: 11.18 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.006055/0.8796, allocations: 1.965 MB / 0.5143 GB, free: 9.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003403/0.8831, allocations: 0.7559 MB / 0.515 GB, free: 8.395 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.8832, allocations: 0 / 0.515 GB, free: 8.395 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/0.8857, allocations: 0.561 MB / 0.5155 GB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.8891, allocations: 186.9 kB / 0.5157 GB, free: 7.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.8958, allocations: 2.116 MB / 0.5178 GB, free: 5.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.8969, allocations: 1.2 MB / 0.519 GB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.898, allocations: 153.5 kB / 0.5191 GB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.8993, allocations: 0.5579 MB / 0.5197 GB, free: 3.527 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/0.8994, allocations: 0 / 0.5197 GB, free: 3.527 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4632/1.363, allocations: 27.83 MB / 0.5468 GB, free: 116.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.363, allocations: 171.5 kB / 0.547 GB, free: 115.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/5.156, allocations: 1.5 kB / 0.547 GB, free: 115.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat