Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.734e-05, allocations: 4 kB / 0.5193 GB, free: 11.7 MB / 416 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 76.94 MB / 0.5944 GB, free: 14.69 MB / 496 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/1.021, allocations: 121.9 MB / 0.7135 GB, free: 33.91 MB / 0.502 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/1.021, allocations: 63.97 kB / 0.7136 GB, free: 33.85 MB / 0.502 GB Notification: Performance of FrontEnd: time 6.112/7.133, allocations: 1.112 GB / 1.825 GB, free: 3.57 MB / 0.7051 GB Notification: Performance of Transformations before backend: time 0.01022/7.143, allocations: 1.684 MB / 1.827 GB, free: 2.008 MB / 0.7051 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15941 * Number of variables: 15941 Notification: Performance of Generate backend data structure: time 1.347/8.49, allocations: 80.04 MB / 1.905 GB, free: 31.2 MB / 0.7247 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/8.49, allocations: 9.672 kB / 1.905 GB, free: 31.2 MB / 0.7247 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03414/8.524, allocations: 7.794 MB / 1.913 GB, free: 27.46 MB / 0.7247 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.135/8.659, allocations: 39.15 MB / 1.951 GB, free: 20.64 MB / 0.7247 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004076/8.663, allocations: 1.945 MB / 1.953 GB, free: 20.64 MB / 0.7247 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02257/8.686, allocations: 3.409 MB / 1.956 GB, free: 20.64 MB / 0.7247 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2402/8.926, allocations: 92.67 MB / 2.047 GB, free: 19.85 MB / 0.7247 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7502/9.676, allocations: 90.01 MB / 2.135 GB, free: 65.03 MB / 0.7559 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003385/9.68, allocations: 0 / 2.135 GB, free: 65.03 MB / 0.7559 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02445/9.705, allocations: 102.1 kB / 2.135 GB, free: 65.03 MB / 0.7559 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/9.706, allocations: 1.461 MB / 2.136 GB, free: 65.03 MB / 0.7559 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8281/10.53, allocations: 291.1 MB / 2.421 GB, free: 0 / 0.7559 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5124/11.05, allocations: 87.93 MB / 2.506 GB, free: 71.41 MB / 0.7559 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08522/11.13, allocations: 38.88 MB / 2.544 GB, free: 60.54 MB / 0.7559 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003315/11.14, allocations: 485.4 kB / 2.545 GB, free: 60.5 MB / 0.7559 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/11.14, allocations: 0.9179 MB / 2.546 GB, free: 59.92 MB / 0.7559 GB Notification: Performance of pre-optimization done (n=4788): time 0.0001029/11.14, allocations: 0 / 2.546 GB, free: 59.92 MB / 0.7559 GB Notification: Performance of matching and sorting (n=4788): time 0.2432/11.38, allocations: 87.64 MB / 2.631 GB, free: 40.64 MB / 0.7559 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005473/11.38, allocations: 0.5252 MB / 2.632 GB, free: 40.54 MB / 0.7559 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1512/11.53, allocations: 50.06 MB / 2.681 GB, free: 24 kB / 0.7559 GB Notification: Performance of collectPreVariables (initialization): time 0.01264/11.54, allocations: 128.3 kB / 2.681 GB, free: 15.89 MB / 0.7715 GB Notification: Performance of collectInitialEqns (initialization): time 0.4273/11.97, allocations: 29.35 MB / 2.71 GB, free: 78.61 MB / 0.7715 GB Notification: Performance of collectInitialBindings (initialization): time 0.02115/11.99, allocations: 15.62 MB / 2.725 GB, free: 68.27 MB / 0.7715 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01112/12, allocations: 0 / 2.725 GB, free: 68.27 MB / 0.7715 GB Notification: Performance of setup shared object (initialization): time 0.006198/12.01, allocations: 2.83 MB / 2.728 GB, free: 67.83 MB / 0.7715 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07681/12.09, allocations: 37.17 MB / 2.764 GB, free: 67.71 MB / 0.7715 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08956/12.18, allocations: 45.05 MB / 2.808 GB, free: 61.02 MB / 0.7715 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09505/12.27, allocations: 45.42 MB / 2.852 GB, free: 60.3 MB / 0.7715 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004405/12.27, allocations: 48.75 kB / 2.852 GB, free: 60.3 MB / 0.7715 GB Notification: Performance of matching and sorting (n=7169) (initialization): time 0.3396/12.61, allocations: 121.8 MB / 2.971 GB, free: 7.062 MB / 0.7715 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002463/12.61, allocations: 83.33 kB / 2.971 GB, free: 6.984 MB / 0.7715 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003576/12.61, allocations: 172 kB / 2.971 GB, free: 6.816 MB / 0.7715 GB Notification: Tearing is skipped for strong component 1 because system size of 3191 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/12.61, allocations: 351.5 kB / 2.972 GB, free: 6.477 MB / 0.7715 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.379/12.99, allocations: 9.083 MB / 2.981 GB, free: 73.3 MB / 0.7715 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/12.99, allocations: 427.7 kB / 2.981 GB, free: 73.27 MB / 0.7715 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09627/13.09, allocations: 12.08 MB / 2.993 GB, free: 73.27 MB / 0.7715 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01362/13.1, allocations: 1.771 MB / 2.995 GB, free: 73.27 MB / 0.7715 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3979): * Single equations (assignments): 3978 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02561/13.13, allocations: 0.8726 MB / 2.995 GB, free: 72.72 MB / 0.7715 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02576/13.16, allocations: 4.95 MB / 3 GB, free: 71.49 MB / 0.7715 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/13.18, allocations: 7.382 MB / 3.007 GB, free: 71 MB / 0.7715 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005812/13.18, allocations: 449.8 kB / 3.008 GB, free: 71 MB / 0.7715 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008063/13.18, allocations: 451.3 kB / 3.008 GB, free: 71 MB / 0.7715 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/13.18, allocations: 222.4 kB / 3.008 GB, free: 71 MB / 0.7715 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.143/13.33, allocations: 51.72 MB / 3.059 GB, free: 68.78 MB / 0.7715 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004009/13.33, allocations: 0 / 3.059 GB, free: 68.78 MB / 0.7715 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01848/13.34, allocations: 3.768 MB / 3.063 GB, free: 68.63 MB / 0.7715 GB Notification: Tearing is skipped for strong component 2 because system size of 3191 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/13.35, allocations: 49.44 kB / 3.063 GB, free: 68.63 MB / 0.7715 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007273/13.35, allocations: 0 / 3.063 GB, free: 68.63 MB / 0.7715 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001784/13.35, allocations: 57.8 kB / 3.063 GB, free: 68.63 MB / 0.7715 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.29e-06/13.35, allocations: 0 / 3.063 GB, free: 68.63 MB / 0.7715 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.493/13.85, allocations: 137.2 MB / 3.197 GB, free: 46.01 MB / 0.7715 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03166/13.88, allocations: 7.653 MB / 3.204 GB, free: 42.39 MB / 0.7715 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02209/13.9, allocations: 7.688 kB / 3.204 GB, free: 42.39 MB / 0.7715 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.09587/14, allocations: 16.93 MB / 3.221 GB, free: 37.62 MB / 0.7715 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01337/14.01, allocations: 4.864 MB / 3.226 GB, free: 35.1 MB / 0.7715 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0104/14.02, allocations: 1.363 MB / 3.227 GB, free: 33.73 MB / 0.7715 GB Notification: Performance of sorting global known variables: time 0.07601/14.1, allocations: 36.78 MB / 3.263 GB, free: 2.152 MB / 0.7715 GB Notification: Performance of sort global known variables: time 8.13e-07/14.1, allocations: 336 / 3.263 GB, free: 2.152 MB / 0.7715 GB Notification: Performance of remove unused functions: time 0.4819/14.58, allocations: 20.14 MB / 3.282 GB, free: 75.29 MB / 0.7715 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1598): * Single equations (assignments): 1597 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(3191,0.1%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01766/14.59, allocations: 0.5535 MB / 3.283 GB, free: 75.12 MB / 0.7715 GB Notification: Performance of simCode: created initialization part: time 0.1769/14.77, allocations: 78.78 MB / 3.36 GB, free: 72.92 MB / 0.7715 GB Notification: Performance of simCode: created event and clocks part: time 9.945e-05/14.77, allocations: 113.2 kB / 3.36 GB, free: 72.9 MB / 0.7715 GB Notification: Performance of simCode: created simulation system equations: time 0.08874/14.86, allocations: 35.78 MB / 3.395 GB, free: 71.59 MB / 0.7715 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06419/14.92, allocations: 9.179 MB / 3.404 GB, free: 71.15 MB / 0.7715 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7629/15.69, allocations: 171.8 MB / 3.572 GB, free: 74.36 MB / 0.8028 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1417/15.83, allocations: 44.41 MB / 3.615 GB, free: 71.02 MB / 0.8028 GB Notification: Performance of simCode: alias equations: time 0.1601/15.99, allocations: 25.19 MB / 3.64 GB, free: 67.71 MB / 0.8028 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01493/16, allocations: 2.003 MB / 3.642 GB, free: 67.71 MB / 0.8028 GB Notification: Performance of SimCode: time 1.849e-06/16, allocations: 4 kB / 3.642 GB, free: 67.7 MB / 0.8028 GB Notification: Performance of Templates: time 2.656/18.66, allocations: 0.634 GB / 4.276 GB, free: 119.5 MB / 0.8965 GB