Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.469e-05/4.491e-05, allocations: 4 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/0.6381, allocations: 78.08 MB / 421.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6384, allocations: 70.2 kB / 421.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.6522, allocations: 3.198 MB / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6523, allocations: 0 / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.6523, allocations: 4 kB / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009298/0.6532, allocations: 464.8 kB / 425 MB, free: 12.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6533, allocations: 8.031 kB / 425 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.6534, allocations: 54.36 kB / 425 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.6535, allocations: 19.72 kB / 425 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.6538, allocations: 210.6 kB / 425.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.6538, allocations: 15.88 kB / 425.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.6539, allocations: 23.28 kB / 425.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.6543, allocations: 159.3 kB / 425.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6544, allocations: 0 / 425.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.6544, allocations: 11.83 kB / 425.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.6544, allocations: 4 kB / 425.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.6548, allocations: 114.2 kB / 425.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.6567, allocations: 0.7687 MB / 426.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.6571, allocations: 131.5 kB / 426.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.6573, allocations: 83.73 kB / 426.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6574, allocations: 0 / 426.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6574, allocations: 34.55 kB / 426.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.6574, allocations: 7.938 kB / 426.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003852/0.6578, allocations: 115.7 kB / 426.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6579, allocations: 59.34 kB / 426.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6581, allocations: 141.2 kB / 426.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.6581, allocations: 25.7 kB / 426.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.6582, allocations: 133.7 kB / 427.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.6583, allocations: 53.69 kB / 427.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.6583, allocations: 0 / 427.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6585, allocations: 321.8 kB / 427.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.6586, allocations: 43.95 kB / 427.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.6588, allocations: 65.14 kB / 427.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.6589, allocations: 45.36 kB / 427.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6589, allocations: 0 / 427.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003693/0.6593, allocations: 159.9 kB / 427.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6593, allocations: 4 kB / 427.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6594, allocations: 0 / 427.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6594, allocations: 0 / 427.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.6598, allocations: 48 kB / 427.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6598, allocations: 0 / 427.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.66, allocations: 19.28 kB / 427.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.6601, allocations: 4 kB / 427.8 MB, free: 9.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6602, allocations: 120.6 kB / 427.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.6603, allocations: 7.906 kB / 427.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.6603, allocations: 19.42 kB / 427.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6603, allocations: 3.938 kB / 428 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.6603, allocations: 4 kB / 428 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6604, allocations: 4 kB / 428 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.6608, allocations: 270.5 kB / 428.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6609, allocations: 0 / 428.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.6613, allocations: 39.22 kB / 428.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.6613, allocations: 4 kB / 428.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6613, allocations: 0 / 428.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6613, allocations: 0 / 428.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6613, allocations: 0 / 428.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.6619, allocations: 288.6 kB / 428.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.662, allocations: 85.02 kB / 428.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.662, allocations: 2.875 kB / 428.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6623, allocations: 18.97 kB / 428.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.6623, allocations: 7.984 kB / 428.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6624, allocations: 4 kB / 428.7 MB, free: 9.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.6625, allocations: 118 kB / 428.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6625, allocations: 0 / 428.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003949/0.6629, allocations: 55.41 kB / 428.8 MB, free: 8.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008683/0.6638, allocations: 0.8113 MB / 429.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.6641, allocations: 110.2 kB / 429.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6642, allocations: 0 / 429.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6643, allocations: 50.12 kB / 429.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.6647, allocations: 19.8 kB / 429.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.6662, allocations: 449.1 kB / 430.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6666, allocations: 0.7282 MB / 431 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.6668, allocations: 13.2 kB / 431 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6669, allocations: 47.61 kB / 431 MB, free: 6.773 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6669, allocations: 4 kB / 431.1 MB, free: 6.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.6954, allocations: 2.916 MB / 434 MB, free: 3.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/0.6958, allocations: 152.6 kB / 434.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.262, allocations: 0 / 434.1 MB, free: 3.707 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat