Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.628e-05, allocations: 4.125 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.563, allocations: 76.9 MB / 371.2 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5633, allocations: 65.61 kB / 371.3 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08986/0.6532, allocations: 26.77 MB / 398 MB, free: 16.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6532, allocations: 0 / 398 MB, free: 16.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.6532, allocations: 3.906 kB / 398 MB, free: 16.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007004/0.654, allocations: 0.6152 MB / 398.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.654, allocations: 11.69 kB / 398.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.6541, allocations: 39.16 kB / 398.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.6546, allocations: 260.7 kB / 399 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.6547, allocations: 7.734 kB / 399 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.6547, allocations: 7.906 kB / 399 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002032/0.6549, allocations: 56.05 kB / 399 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.6553, allocations: 137.8 kB / 399.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6553, allocations: 0 / 399.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.6554, allocations: 3.875 kB / 399.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.6554, allocations: 0 / 399.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.6565, allocations: 466.3 kB / 399.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.6567, allocations: 93.05 kB / 399.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.6569, allocations: 86.52 kB / 399.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.657, allocations: 0 / 399.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.6574, allocations: 229 kB / 400 MB, free: 14.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.806e-06/0.6574, allocations: 0 / 400 MB, free: 14.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008888/0.6583, allocations: 306.6 kB / 400.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6584, allocations: 169.7 kB / 400.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/0.6593, allocations: 454.5 kB / 400.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.6594, allocations: 29.58 kB / 401 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.6595, allocations: 95.89 kB / 401 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.6595, allocations: 30.95 kB / 401.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.6596, allocations: 7.875 kB / 401.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6597, allocations: 329.7 kB / 401.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.6599, allocations: 55.77 kB / 401.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.6601, allocations: 60.41 kB / 401.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6603, allocations: 55.86 kB / 401.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6603, allocations: 0 / 401.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007813/0.6611, allocations: 278.7 kB / 401.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.6612, allocations: 122.4 kB / 402 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.6612, allocations: 0 / 402 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.6613, allocations: 4 kB / 402 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-05/0.6613, allocations: 3.938 kB / 402 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6613, allocations: 7.938 kB / 402 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.6616, allocations: 11.73 kB / 402 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.6618, allocations: 127.7 kB / 402.1 MB, free: 13.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002809/0.6621, allocations: 247 kB / 402.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008791/0.663, allocations: 325.8 kB / 402.7 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.6631, allocations: 39.03 kB / 402.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.6633, allocations: 66.25 kB / 402.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6634, allocations: 3.984 kB / 402.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6634, allocations: 0 / 402.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6634, allocations: 0 / 402.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6647, allocations: 0.6834 MB / 403.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6647, allocations: 0 / 403.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.6648, allocations: 0 / 403.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6648, allocations: 0 / 403.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.6649, allocations: 19.36 kB / 403.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6649, allocations: 0 / 403.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6649, allocations: 4 kB / 403.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.6658, allocations: 438.1 kB / 403.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.6664, allocations: 249.7 kB / 404.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6666, allocations: 11.03 kB / 404.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.6669, allocations: 19.67 kB / 404.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.6671, allocations: 34.39 kB / 404.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.6673, allocations: 120.7 kB / 404.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007052/0.668, allocations: 375.6 kB / 404.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.668, allocations: 0 / 404.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.6685, allocations: 42.12 kB / 404.7 MB, free: 11.95 MB / 314.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.00135/0.6699, allocations: 0.9888 MB / 405.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000671/0.6706, allocations: 436.6 kB / 406.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6706, allocations: 0 / 406.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.671, allocations: 371.9 kB / 406.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.672, allocations: 105.1 kB / 406.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.6738, allocations: 0.6048 MB / 407.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.6745, allocations: 0.8102 MB / 408 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.912e-05/0.6745, allocations: 8.531 kB / 408.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.6746, allocations: 27.89 kB / 408.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6746, allocations: 0 / 408.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.7213, allocations: 6.46 MB / 414.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002439/0.7216, allocations: 132.5 kB / 414.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.766/3.488, allocations: 0 / 414.7 MB, free: 3.246 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat