Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.75e-05/4.762e-05, allocations: 4 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.5884, allocations: 80.07 MB / 423.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5887, allocations: 73.59 kB / 423.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.6189, allocations: 5.918 MB / 429.2 MB, free: 8.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.568e-06/0.6189, allocations: 0 / 429.2 MB, free: 8.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.619, allocations: 7.938 kB / 429.2 MB, free: 8.648 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001662/0.6206, allocations: 0.5728 MB / 429.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.6207, allocations: 8.031 kB / 429.8 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.6209, allocations: 59.53 kB / 429.9 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.621, allocations: 31.62 kB / 429.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.6215, allocations: 266.9 kB / 430.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.6216, allocations: 22.44 kB / 430.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.6217, allocations: 22.19 kB / 430.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.6224, allocations: 263.9 kB / 430.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.6224, allocations: 0 / 430.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.6225, allocations: 11.81 kB / 430.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6225, allocations: 4 kB / 430.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.623, allocations: 165.2 kB / 430.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.6259, allocations: 1.125 MB / 431.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.6265, allocations: 140 kB / 431.9 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.6267, allocations: 57.84 kB / 432 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.6268, allocations: 4 kB / 432 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.6271, allocations: 119.8 kB / 432.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.805e-06/0.6272, allocations: 0 / 432.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001076/0.6282, allocations: 209.4 kB / 432.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.6283, allocations: 106.8 kB / 432.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.6288, allocations: 250 kB / 432.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.6289, allocations: 29.7 kB / 432.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6291, allocations: 202.5 kB / 432.9 MB, free: 5.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.6292, allocations: 34.47 kB / 432.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.6292, allocations: 11.94 kB / 432.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6294, allocations: 329.7 kB / 433.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.6296, allocations: 60.98 kB / 433.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.6299, allocations: 165.8 kB / 433.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.6301, allocations: 97.7 kB / 433.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.6301, allocations: 0 / 433.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001265/0.6314, allocations: 332.8 kB / 433.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.6315, allocations: 33.7 kB / 433.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6315, allocations: 4 kB / 433.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.6319, allocations: 56.73 kB / 434 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.6323, allocations: 55.16 kB / 434 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.635, allocations: 1.526 MB / 435.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.6358, allocations: 58.91 kB / 435.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.6359, allocations: 12 kB / 435.6 MB, free: 2.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.6361, allocations: 123.8 kB / 435.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.6361, allocations: 23.72 kB / 435.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.6362, allocations: 32.95 kB / 435.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6363, allocations: 0 / 435.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6363, allocations: 0 / 435.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6363, allocations: 0 / 435.8 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.6368, allocations: 309.5 kB / 436.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6368, allocations: 3.938 kB / 436.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6371, allocations: 23.97 kB / 436.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.6374, allocations: 55.83 kB / 436.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6374, allocations: 4 kB / 436.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.6398, allocations: 1.507 MB / 437.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6399, allocations: 0 / 437.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.6409, allocations: 233.7 kB / 437.9 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.6411, allocations: 108.1 kB / 438 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.6412, allocations: 11.12 kB / 438 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.6417, allocations: 35.97 kB / 438.1 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6418, allocations: 23.22 kB / 438.1 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.6419, allocations: 7.984 kB / 438.1 MB, free: 196 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.6422, allocations: 194.8 kB / 438.3 MB, free: 36 kB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6422, allocations: 3.938 kB / 438.3 MB, free: 32 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000641/0.6429, allocations: 83.08 kB / 438.4 MB, free: 15.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.6443, allocations: 0.776 MB / 439.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.6452, allocations: 325.9 kB / 439.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6453, allocations: 0 / 439.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.6457, allocations: 174.8 kB / 439.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.6461, allocations: 35.94 kB / 439.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.6475, allocations: 333.8 kB / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.648, allocations: 0.7638 MB / 440.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.6483, allocations: 26.06 kB / 440.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.6485, allocations: 77.22 kB / 440.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6485, allocations: 0 / 440.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.683, allocations: 5.908 MB / 446.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/0.6835, allocations: 177.5 kB / 446.9 MB, free: 7.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.391, allocations: 0 / 446.9 MB, free: 7.527 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat does not exist to compare? outputFormat=mat