Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.196/2.196, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.667e-05, allocations: 4 kB / 284.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 50.35 MB / 334.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5986, allocations: 78.39 MB / 413.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5989, allocations: 59.91 kB / 413.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005907/0.6048, allocations: 1.425 MB / 414.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6048, allocations: 3.938 kB / 414.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.6049, allocations: 0 / 414.7 MB, free: 14.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005136/0.6054, allocations: 366.3 kB / 415 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6054, allocations: 16.02 kB / 415 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.6055, allocations: 37.56 kB / 415.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.6056, allocations: 7.906 kB / 415.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.6059, allocations: 202.4 kB / 415.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6059, allocations: 6.828 kB / 415.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.6059, allocations: 11.19 kB / 415.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.6063, allocations: 151.2 kB / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6063, allocations: 3.938 kB / 415.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6064, allocations: 3.875 kB / 415.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.6064, allocations: 4 kB / 415.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.6065, allocations: 22.8 kB / 415.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.607, allocations: 289.3 kB / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.6073, allocations: 171.1 kB / 415.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6074, allocations: 49.41 kB / 416 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.6075, allocations: 4 kB / 416 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.6075, allocations: 39.36 kB / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.6075, allocations: 0 / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002735/0.6078, allocations: 88.02 kB / 416.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.6079, allocations: 114.2 kB / 416.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.608, allocations: 108.7 kB / 416.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6081, allocations: 29.73 kB / 416.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.6081, allocations: 95.19 kB / 416.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6082, allocations: 11.66 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.6082, allocations: 0 / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6083, allocations: 326.1 kB / 416.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.6084, allocations: 11.06 kB / 416.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.6084, allocations: 66.23 kB / 416.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.6085, allocations: 19.36 kB / 416.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6085, allocations: 4 kB / 416.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002018/0.6087, allocations: 88.39 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6088, allocations: 8 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6088, allocations: 0 / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6088, allocations: 4 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.609, allocations: 24.45 kB / 417 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.609, allocations: 4 kB / 417 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.6091, allocations: 7.938 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.6091, allocations: 7.188 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001196/0.6093, allocations: 120 kB / 417.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6094, allocations: 69.16 kB / 417.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.6095, allocations: 15.77 kB / 417.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6095, allocations: 0 / 417.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6095, allocations: 4 kB / 417.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.6095, allocations: 4 kB / 417.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.6098, allocations: 183.6 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6098, allocations: 3.938 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.61, allocations: 19.98 kB / 417.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.61, allocations: 0 / 417.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.61, allocations: 3.938 kB / 417.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.61, allocations: 4 kB / 417.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.61, allocations: 128 / 417.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.6103, allocations: 228.4 kB / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.6104, allocations: 81.02 kB / 417.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.6104, allocations: 7.062 kB / 417.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6105, allocations: 4 kB / 417.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.6106, allocations: 3.984 kB / 417.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.6106, allocations: 8 kB / 417.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.6107, allocations: 95.16 kB / 417.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6107, allocations: 0 / 417.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.6111, allocations: 8 kB / 417.9 MB, free: 10.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0006474/0.6117, allocations: 0.89 MB / 418.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.6119, allocations: 47.23 kB / 418.8 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6119, allocations: 0 / 418.8 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.612, allocations: 7 kB / 418.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.6124, allocations: 56.5 kB / 418.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.613, allocations: 158 kB / 419 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.6133, allocations: 0.7004 MB / 419.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.6134, allocations: 8.656 kB / 419.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.6135, allocations: 21.62 kB / 419.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6135, allocations: 0 / 419.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.6391, allocations: 1.825 MB / 421.6 MB, free: 7.164 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/0.6395, allocations: 169 kB / 421.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.921, allocations: 0 / 421.7 MB, free: 6.938 MB / 346.7 MB