Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.428/2.428, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.527e-05/4.536e-05, allocations: 5.25 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 50 MB / 332 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5803, allocations: 78.98 MB / 411 MB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5807, allocations: 73.16 kB / 411 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02421/0.6049, allocations: 5.159 MB / 416.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6049, allocations: 4 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.993e-05/0.605, allocations: 4 kB / 416.2 MB, free: 12.8 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.001007/0.606, allocations: 0.5041 MB / 416.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.6061, allocations: 11.97 kB / 416.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.6062, allocations: 44.23 kB / 416.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.6063, allocations: 31.67 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.6068, allocations: 269 kB / 417 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.6068, allocations: 14.92 kB / 417.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.6069, allocations: 19.06 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.6073, allocations: 158.2 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6073, allocations: 0 / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.6074, allocations: 10.73 kB / 417.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6074, allocations: 7.953 kB / 417.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.6076, allocations: 52.62 kB / 417.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.6092, allocations: 0.5258 MB / 417.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.6096, allocations: 129.2 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.6098, allocations: 60.41 kB / 418 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.6098, allocations: 8 kB / 418 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.6102, allocations: 130 kB / 418.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.647e-06/0.6102, allocations: 0 / 418.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006412/0.6109, allocations: 210.5 kB / 418.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.611, allocations: 158.2 kB / 418.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.6114, allocations: 229.6 kB / 418.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.6114, allocations: 39.52 kB / 418.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.6116, allocations: 148.1 kB / 418.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.6117, allocations: 65.59 kB / 419 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.6117, allocations: 3.688 kB / 419 MB, free: 10.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6119, allocations: 339.5 kB / 419.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.612, allocations: 50.78 kB / 419.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.6123, allocations: 177.4 kB / 419.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.6125, allocations: 78.59 kB / 419.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.6126, allocations: 0 / 419.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005986/0.6132, allocations: 248.4 kB / 419.9 MB, free: 9.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.6132, allocations: 12.09 kB / 419.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.6132, allocations: 4 kB / 419.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6133, allocations: 7.938 kB / 419.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.6138, allocations: 59.28 kB / 419.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.6138, allocations: 4 kB / 419.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.6141, allocations: 31.3 kB / 420 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.6142, allocations: 15.44 kB / 420 MB, free: 9.176 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002321/0.6144, allocations: 135.4 kB / 420.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.6145, allocations: 23.72 kB / 420.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.6146, allocations: 28.27 kB / 420.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6146, allocations: 0 / 420.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6146, allocations: 4 kB / 420.2 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6146, allocations: 3.984 kB / 420.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.6156, allocations: 0.5406 MB / 420.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6156, allocations: 4 kB / 420.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.6161, allocations: 39.92 kB / 420.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.6161, allocations: 0 / 420.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.6162, allocations: 11.48 kB / 420.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6162, allocations: 0 / 420.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6162, allocations: 0 / 420.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.617, allocations: 366.8 kB / 421.1 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.6171, allocations: 116.6 kB / 421.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.6172, allocations: 7.5 kB / 421.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.6175, allocations: 11.42 kB / 421.3 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.6176, allocations: 19.52 kB / 421.3 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.6176, allocations: 11.92 kB / 421.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002755/0.6179, allocations: 184.7 kB / 421.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6179, allocations: 0 / 421.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006455/0.6186, allocations: 94.05 kB / 421.6 MB, free: 7.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001463/0.6201, allocations: 0.991 MB / 422.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.6206, allocations: 144.7 kB / 422.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6206, allocations: 0.9375 kB / 422.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.6208, allocations: 65.25 kB / 422.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.6213, allocations: 58.77 kB / 422.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6235, allocations: 0.4983 MB / 423.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.624, allocations: 0.7521 MB / 424.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.6242, allocations: 34 kB / 424.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.6243, allocations: 81.97 kB / 424.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6243, allocations: 0 / 424.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.6531, allocations: 5.051 MB / 429.2 MB, free: 296 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/0.6536, allocations: 174 kB / 429.4 MB, free: 60 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.307, allocations: 0 / 429.4 MB, free: 60 kB / 346.7 MB