Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.171/2.171, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.988e-05, allocations: 11.23 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1615, allocations: 50.36 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.6469, allocations: 79.9 MB / 414.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6472, allocations: 78.77 kB / 414.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0218/0.6691, allocations: 4.602 MB / 419.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6691, allocations: 0 / 419.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.6691, allocations: 0 / 419.4 MB, free: 10.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000799/0.6699, allocations: 450.1 kB / 419.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.67, allocations: 12.03 kB / 419.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.6701, allocations: 40.8 kB / 419.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.6702, allocations: 19.81 kB / 419.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.6706, allocations: 232.5 kB / 420.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6706, allocations: 7.625 kB / 420.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.6707, allocations: 7.25 kB / 420.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.6714, allocations: 292.8 kB / 420.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6714, allocations: 0 / 420.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.6714, allocations: 7.547 kB / 420.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.6715, allocations: 11.94 kB / 420.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.6717, allocations: 55.8 kB / 420.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.6723, allocations: 351.8 kB / 420.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.6727, allocations: 227.4 kB / 421.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.673, allocations: 93.06 kB / 421.1 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008216/0.6738, allocations: 0.5777 MB / 421.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6738, allocations: 38.56 kB / 421.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.376e-06/0.6739, allocations: 0 / 421.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004596/0.6743, allocations: 157.5 kB / 421.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6744, allocations: 113.7 kB / 422 MB, free: 7.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.6747, allocations: 172 kB / 422.2 MB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.6747, allocations: 33.2 kB / 422.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.6748, allocations: 106.5 kB / 422.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.6749, allocations: 14.95 kB / 422.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.6749, allocations: 7.656 kB / 422.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.675, allocations: 325.6 kB / 422.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.6751, allocations: 35.3 kB / 422.7 MB, free: 7.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.6753, allocations: 157.3 kB / 422.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6755, allocations: 73.75 kB / 422.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6755, allocations: 0 / 422.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004228/0.676, allocations: 189.6 kB / 423.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.676, allocations: 8 kB / 423.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.676, allocations: 4 kB / 423.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.676, allocations: 11.94 kB / 423.1 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.6763, allocations: 47.17 kB / 423.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.6764, allocations: 7.938 kB / 423.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6766, allocations: 19.48 kB / 423.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.6766, allocations: 15.98 kB / 423.2 MB, free: 6.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001369/0.6767, allocations: 131.9 kB / 423.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.6771, allocations: 133 kB / 423.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.6775, allocations: 156.6 kB / 423.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6776, allocations: 7.953 kB / 423.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6776, allocations: 0 / 423.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6776, allocations: 0 / 423.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.6779, allocations: 228.6 kB / 423.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6779, allocations: 0 / 423.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.6782, allocations: 47.84 kB / 423.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6782, allocations: 0 / 423.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6783, allocations: 4 kB / 423.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6783, allocations: 4 kB / 423.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6783, allocations: 3.953 kB / 423.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.6787, allocations: 271.1 kB / 424.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.6789, allocations: 115.5 kB / 424.3 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.679, allocations: 7.938 kB / 424.3 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.6792, allocations: 15.92 kB / 424.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.6793, allocations: 7.188 kB / 424.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.6793, allocations: 7.984 kB / 424.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.6795, allocations: 139.8 kB / 424.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6795, allocations: 0 / 424.5 MB, free: 5.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004669/0.68, allocations: 35.31 kB / 424.5 MB, free: 5.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001009/0.681, allocations: 0.9594 MB / 425.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.6814, allocations: 112.5 kB / 425.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6814, allocations: 0 / 425.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.6814, allocations: 11.44 kB / 425.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.6821, allocations: 135.6 kB / 425.7 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.6831, allocations: 281.2 kB / 426 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.6834, allocations: 0.748 MB / 426.7 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.6835, allocations: 13.33 kB / 426.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.6837, allocations: 47.3 kB / 426.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6837, allocations: 0 / 426.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.7088, allocations: 3.769 MB / 430.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/0.7092, allocations: 185 kB / 430.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.244, allocations: 4 kB / 430.8 MB, free: 15.13 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat