Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.405e-05, allocations: 6.812 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 50.4 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5022/0.6086, allocations: 84.15 MB / 427.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.609, allocations: 77.08 kB / 427.4 MB, free: 9.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.7114, allocations: 23.95 MB / 451.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7115, allocations: 4 kB / 451.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.7116, allocations: 35.98 kB / 451.4 MB, free: 5.285 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004375/0.716, allocations: 1.396 MB / 452.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.716, allocations: 12.03 kB / 452.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004008/0.7165, allocations: 177.8 kB / 453 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.7169, allocations: 158.1 kB / 453.1 MB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.7188, allocations: 0.7209 MB / 453.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.7189, allocations: 94.77 kB / 453.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.7192, allocations: 132.3 kB / 454.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.7223, allocations: 1.159 MB / 455.2 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.7224, allocations: 7.875 kB / 455.2 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.7226, allocations: 54.88 kB / 455.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.7226, allocations: 35.98 kB / 455.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.7254, allocations: 0.8828 MB / 456.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.7393, allocations: 5.105 MB / 461.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.7415, allocations: 0.9451 MB / 462.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7426, allocations: 442.6 kB / 462.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.7427, allocations: 8.781 kB / 462.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.7428, allocations: 47.34 kB / 462.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.537e-06/0.7428, allocations: 0 / 462.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.004599/0.7474, allocations: 1.082 MB / 463.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.7475, allocations: 89.89 kB / 463.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.7492, allocations: 0.7075 MB / 464.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.7494, allocations: 41.7 kB / 464.7 MB, free: 8.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/0.75, allocations: 0.5959 MB / 465.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.7504, allocations: 275.9 kB / 465.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.7505, allocations: 20 kB / 465.5 MB, free: 7.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7507, allocations: 349.8 kB / 465.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.7515, allocations: 266.6 kB / 466.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7526, allocations: 0.49 MB / 466.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009253/0.7535, allocations: 330.1 kB / 467 MB, free: 6.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.7535, allocations: 4 kB / 467 MB, free: 6.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003847/0.7574, allocations: 1.123 MB / 468.1 MB, free: 5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7575, allocations: 11.95 kB / 468.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.7575, allocations: 8 kB / 468.1 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007897/0.7583, allocations: 166.7 kB / 468.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007457/0.7658, allocations: 0.9365 MB / 469.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.7806, allocations: 9.333 MB / 478.5 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.7824, allocations: 155 kB / 478.7 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.7825, allocations: 43.94 kB / 478.7 MB, free: 9.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.7829, allocations: 160.7 kB / 478.9 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.7832, allocations: 110.7 kB / 479 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.7835, allocations: 104.9 kB / 479.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.7835, allocations: 11.98 kB / 479.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.7836, allocations: 4 kB / 479.1 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7836, allocations: 3.984 kB / 479.1 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.7905, allocations: 2.237 MB / 481.3 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.7906, allocations: 0 / 481.3 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.7917, allocations: 123.9 kB / 481.5 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.7928, allocations: 269 kB / 481.7 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.7929, allocations: 16 kB / 481.7 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.8058, allocations: 9.228 MB / 491 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.8058, allocations: 4.031 kB / 491 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/0.8114, allocations: 1.642 MB / 492.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.8119, allocations: 191.7 kB / 492.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.8122, allocations: 12 kB / 492.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.8137, allocations: 123.9 kB / 492.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.814, allocations: 60.47 kB / 493 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/0.8141, allocations: 24 kB / 493 MB, free: 10.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.8153, allocations: 0.5304 MB / 493.6 MB, free: 9.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8153, allocations: 0 / 493.6 MB, free: 9.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001974/0.8173, allocations: 367 kB / 493.9 MB, free: 9.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00602/0.8233, allocations: 2.436 MB / 496.4 MB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008805/0.8321, allocations: 1.774 MB / 498.1 MB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.8322, allocations: 4 kB / 498.1 MB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.8342, allocations: 1.002 MB / 499.1 MB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8359, allocations: 183.3 kB / 499.3 MB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/0.8445, allocations: 2.109 MB / 0.4897 GB, free: 1.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009705/0.8456, allocations: 1.101 MB / 0.4907 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007786/0.8464, allocations: 111.5 kB / 0.4908 GB, free: 428 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.8472, allocations: 431.3 kB / 0.4913 GB, free: 16 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.8472, allocations: 4 kB / 0.4913 GB, free: 15.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0722/0.9194, allocations: 21.61 MB / 0.5124 GB, free: 10.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.9197, allocations: 189.7 kB / 0.5125 GB, free: 10.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/4.387, allocations: 0 / 0.5125 GB, free: 10.37 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat does not exist to compare? outputFormat=mat