Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.149/3.149, allocations: 325.3 MB / 337.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.873e-05, allocations: 4 kB / 414.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1747, allocations: 74.41 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.646/0.8208, allocations: 105.2 MB / 0.5806 GB, free: 10.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.8212, allocations: 82 kB / 0.5807 GB, free: 10.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02839/0.8496, allocations: 5.78 MB / 0.5863 GB, free: 5.512 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8497, allocations: 0 / 0.5863 GB, free: 5.512 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.8497, allocations: 11.94 kB / 0.5863 GB, free: 5.5 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001269/0.851, allocations: 0.5594 MB / 0.5869 GB, free: 4.906 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8511, allocations: 8.031 kB / 0.5869 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.8512, allocations: 51.23 kB / 0.5869 GB, free: 4.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.8513, allocations: 27.72 kB / 0.5869 GB, free: 4.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.852, allocations: 290.7 kB / 0.5872 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.852, allocations: 11.88 kB / 0.5872 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.8521, allocations: 14.81 kB / 0.5872 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.8527, allocations: 246.9 kB / 0.5875 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.8527, allocations: 0 / 0.5875 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.8527, allocations: 2.812 kB / 0.5875 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.8528, allocations: 4 kB / 0.5875 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.8531, allocations: 138.2 kB / 0.5876 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.8546, allocations: 0.739 MB / 0.5883 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.855, allocations: 152.4 kB / 0.5885 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.8553, allocations: 108.3 kB / 0.5886 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.8553, allocations: 4 kB / 0.5886 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.8557, allocations: 196.3 kB / 0.5888 GB, free: 3.117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.8557, allocations: 0 / 0.5888 GB, free: 3.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009556/0.8567, allocations: 334.4 kB / 0.5891 GB, free: 2.828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.8568, allocations: 136.3 kB / 0.5892 GB, free: 2.668 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.8572, allocations: 248.7 kB / 0.5895 GB, free: 2.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.8573, allocations: 33.33 kB / 0.5895 GB, free: 2.422 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.8574, allocations: 148.7 kB / 0.5896 GB, free: 2.309 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.8575, allocations: 46.81 kB / 0.5897 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.8576, allocations: 7.688 kB / 0.5897 GB, free: 2.262 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8577, allocations: 345.5 kB / 0.59 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.858, allocations: 95.59 kB / 0.5901 GB, free: 1.855 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.8583, allocations: 139.9 kB / 0.5902 GB, free: 1.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.8586, allocations: 130.9 kB / 0.5904 GB, free: 1.625 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8586, allocations: 0 / 0.5904 GB, free: 1.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008953/0.8595, allocations: 374.7 kB / 0.5907 GB, free: 1.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.8596, allocations: 33.7 kB / 0.5908 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.8596, allocations: 0 / 0.5908 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8596, allocations: 0 / 0.5908 GB, free: 1.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.8599, allocations: 35.05 kB / 0.5908 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.86, allocations: 4.094 kB / 0.5908 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.8603, allocations: 43.81 kB / 0.5908 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.8604, allocations: 11.56 kB / 0.5908 GB, free: 1.184 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.8605, allocations: 160.1 kB / 0.591 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.8606, allocations: 27.67 kB / 0.591 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.8607, allocations: 31.89 kB / 0.5911 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8608, allocations: 0 / 0.5911 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8608, allocations: 0 / 0.5911 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8608, allocations: 0 / 0.5911 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.8612, allocations: 301.3 kB / 0.5913 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8612, allocations: 3.938 kB / 0.5913 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.8614, allocations: 19.98 kB / 0.5914 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.8614, allocations: 4 kB / 0.5914 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.8615, allocations: 7.953 kB / 0.5914 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8615, allocations: 0 / 0.5914 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8615, allocations: 4 kB / 0.5914 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.8628, allocations: 0.5225 MB / 0.5919 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.8629, allocations: 96.86 kB / 0.592 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.863, allocations: 7.062 kB / 0.592 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.8633, allocations: 43.48 kB / 0.592 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8635, allocations: 27.44 kB / 0.5921 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.8635, allocations: 8 kB / 0.5921 GB, free: 12 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.8639, allocations: 204.4 kB / 0.5923 GB, free: 15.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8639, allocations: 4 kB / 0.5923 GB, free: 15.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.8644, allocations: 63.75 kB / 0.5923 GB, free: 15.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/0.8658, allocations: 1.003 MB / 0.5933 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.8665, allocations: 269.4 kB / 0.5936 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8665, allocations: 0 / 0.5936 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.8668, allocations: 179.6 kB / 0.5937 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.8672, allocations: 43.94 kB / 0.5938 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.8689, allocations: 427.2 kB / 0.5942 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.8694, allocations: 0.7596 MB / 0.5949 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.8695, allocations: 21.2 kB / 0.5949 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.8697, allocations: 70.09 kB / 0.595 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8697, allocations: 0 / 0.595 GB, free: 13.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.9015, allocations: 4.87 MB / 0.5998 GB, free: 8.441 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003917/0.902, allocations: 167.5 kB / 0.5999 GB, free: 8.211 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.412, allocations: 0 / 0.5999 GB, free: 8.211 MB / 490.7 MB