Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.742/2.742, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.693e-05, allocations: 4.5 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6102/0.7228, allocations: 70.28 MB / 364.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.7232, allocations: 67.7 kB / 364.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.75, allocations: 3.477 MB / 368.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7501, allocations: 0 / 368.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.7501, allocations: 0 / 368.1 MB, free: 22.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005784/0.7507, allocations: 373.1 kB / 368.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.7508, allocations: 11.41 kB / 368.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.7509, allocations: 30.56 kB / 368.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.7509, allocations: 0.8125 kB / 368.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.7511, allocations: 173.1 kB / 368.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.7511, allocations: 0 / 368.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.7512, allocations: 11.66 kB / 368.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.7513, allocations: 3.875 kB / 368.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.7514, allocations: 36.34 kB / 368.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7514, allocations: 3.938 kB / 368.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7515, allocations: 0 / 368.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.7515, allocations: 0 / 368.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.7517, allocations: 136.9 kB / 368.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.7518, allocations: 36.84 kB / 368.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.7519, allocations: 15.92 kB / 368.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.7519, allocations: 0 / 368.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.752, allocations: 30.56 kB / 368.9 MB, free: 21.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.752, allocations: 0 / 368.9 MB, free: 21.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001959/0.7522, allocations: 46.88 kB / 369 MB, free: 21.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.7522, allocations: 51.41 kB / 369 MB, free: 21.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.7523, allocations: 91.72 kB / 369.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7524, allocations: 25.7 kB / 369.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.7525, allocations: 91.12 kB / 369.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.7525, allocations: 14.5 kB / 369.2 MB, free: 21.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.7525, allocations: 3.938 kB / 369.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.7526, allocations: 313.9 kB / 369.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.7527, allocations: 7.438 kB / 369.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.734e-05/0.7527, allocations: 20.38 kB / 369.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.7528, allocations: 3.875 kB / 369.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7528, allocations: 4 kB / 369.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.753, allocations: 55.81 kB / 369.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.753, allocations: 3.781 kB / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.7531, allocations: 128 / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.7531, allocations: 6.562 kB / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.7533, allocations: 7.875 kB / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7533, allocations: 3.75 kB / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.7534, allocations: 0 / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7534, allocations: 0 / 369.7 MB, free: 21.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.328e-05/0.7535, allocations: 115.6 kB / 369.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.7535, allocations: 3.953 kB / 369.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.7536, allocations: 7.078 kB / 369.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7536, allocations: 0 / 369.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7536, allocations: 7.688 kB / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7537, allocations: 0 / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.7539, allocations: 138.8 kB / 369.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.7539, allocations: 3.938 kB / 369.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.7541, allocations: 7.531 kB / 369.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7541, allocations: 2.906 kB / 370 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.7541, allocations: 7.953 kB / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.7541, allocations: 0 / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7542, allocations: 0 / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.7544, allocations: 69.16 kB / 370 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.7545, allocations: 83.91 kB / 370.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.7545, allocations: 0 / 370.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.7546, allocations: 3.953 kB / 370.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.7547, allocations: 0 / 370.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.7547, allocations: 11.8 kB / 370.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.266e-05/0.7548, allocations: 85.19 kB / 370.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.7549, allocations: 0 / 370.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007036/0.7556, allocations: 64.19 kB / 370.3 MB, free: 20.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001182/0.7568, allocations: 0.6861 MB / 371 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.757, allocations: 19.59 kB / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.757, allocations: 0 / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.757, allocations: 7.219 kB / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.7573, allocations: 3.953 kB / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.7579, allocations: 162.4 kB / 371.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.7584, allocations: 0.6854 MB / 371.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.7585, allocations: 7.906 kB / 371.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.7585, allocations: 12.98 kB / 371.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7586, allocations: 0 / 371.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/0.8375, allocations: 1.478 MB / 373.3 MB, free: 18.97 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002832/0.8378, allocations: 152.7 kB / 373.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.35/4.188, allocations: 1.281 kB / 373.5 MB, free: 18.77 MB / 314.7 MB "" Variables in the reference:time,q,qd Variables in the result:A,der(q),der(qd),q,qd,s,time,wq,ws,x