Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.975e-05/3.984e-05, allocations: 6.5 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5464, allocations: 81.87 MB / 425 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5467, allocations: 81.64 kB / 425.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03193/0.5787, allocations: 6.928 MB / 432.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5787, allocations: 4 kB / 432.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.264e-05/0.5788, allocations: 12 kB / 432.1 MB, free: 6.027 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001699/0.5805, allocations: 0.6179 MB / 432.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5806, allocations: 8.031 kB / 432.7 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.5807, allocations: 64.28 kB / 432.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.5808, allocations: 35.62 kB / 432.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.5815, allocations: 308.3 kB / 433.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.5815, allocations: 23.06 kB / 433.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.5816, allocations: 24.75 kB / 433.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/0.5825, allocations: 296.9 kB / 433.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5825, allocations: 0 / 433.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.5826, allocations: 12.94 kB / 433.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5826, allocations: 8 kB / 433.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.5832, allocations: 205.6 kB / 433.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.587, allocations: 1.315 MB / 435 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.5876, allocations: 246.2 kB / 435.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.5879, allocations: 100.1 kB / 435.3 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.5879, allocations: 15.86 kB / 435.3 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.5883, allocations: 145.4 kB / 435.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.5883, allocations: 0 / 435.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001084/0.5894, allocations: 242.8 kB / 435.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.5895, allocations: 114.7 kB / 435.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.59, allocations: 260.6 kB / 436.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.59, allocations: 36.39 kB / 436.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.5902, allocations: 201.2 kB / 436.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.5903, allocations: 56.77 kB / 436.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5903, allocations: 7.625 kB / 436.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5905, allocations: 337.6 kB / 436.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.5907, allocations: 68.53 kB / 436.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.591, allocations: 169.3 kB / 436.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.5913, allocations: 111.4 kB / 437 MB, free: 1.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5913, allocations: 0 / 437 MB, free: 1.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001231/0.5925, allocations: 386.7 kB / 437.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.5926, allocations: 33.95 kB / 437.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5926, allocations: 12 kB / 437.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.5929, allocations: 31.66 kB / 437.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.5934, allocations: 75.27 kB / 437.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.5963, allocations: 1.575 MB / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.5971, allocations: 71.67 kB / 439.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.5971, allocations: 11.81 kB / 439.2 MB, free: 15.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.5973, allocations: 119.8 kB / 439.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.5974, allocations: 35.61 kB / 439.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.5975, allocations: 32.55 kB / 439.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5975, allocations: 0 / 439.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5975, allocations: 0 / 439.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5975, allocations: 7.984 kB / 439.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5992, allocations: 0.6973 MB / 440.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5992, allocations: 0 / 440.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.5997, allocations: 51 kB / 440.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.5998, allocations: 42.58 kB / 440.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.5999, allocations: 0 / 440.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.6015, allocations: 1.367 MB / 441.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6015, allocations: 4.125 kB / 441.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.6028, allocations: 445.4 kB / 442 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6029, allocations: 103.7 kB / 442.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.603, allocations: 7.938 kB / 442.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.6035, allocations: 47.83 kB / 442.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6036, allocations: 23.23 kB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.6037, allocations: 7.125 kB / 442.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003179/0.604, allocations: 211.4 kB / 442.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.604, allocations: 0 / 442.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006446/0.6047, allocations: 89.31 kB / 442.5 MB, free: 12.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.6063, allocations: 1.056 MB / 443.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.6077, allocations: 410.6 kB / 443.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.6078, allocations: 4 kB / 443.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.6081, allocations: 188.4 kB / 444.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.6086, allocations: 50.98 kB / 444.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.6117, allocations: 0.6308 MB / 444.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.6121, allocations: 0.7758 MB / 445.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.6124, allocations: 30.97 kB / 445.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6126, allocations: 91.34 kB / 445.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6126, allocations: 0 / 445.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.6492, allocations: 6.255 MB / 452 MB, free: 3.129 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.6496, allocations: 197.9 kB / 452.2 MB, free: 2.895 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.334, allocations: 0 / 452.2 MB, free: 2.895 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat