Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.977e-05, allocations: 0 / 0.5197 GB, free: 11.27 MB / 416 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 76.93 MB / 0.5948 GB, free: 14.27 MB / 496 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.8186, allocations: 122.2 MB / 0.7142 GB, free: 33.25 MB / 0.502 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001375/0.8188, allocations: 48.98 kB / 0.7142 GB, free: 33.2 MB / 0.502 GB Notification: Performance of FrontEnd: time 0.02546/0.8442, allocations: 5.314 MB / 0.7194 GB, free: 27.9 MB / 0.502 GB Notification: Performance of Transformations before backend: time 2.72e-05/0.8443, allocations: 4 kB / 0.7194 GB, free: 27.89 MB / 0.502 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001241/0.8456, allocations: 0.6695 MB / 0.7201 GB, free: 27.16 MB / 0.502 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.8457, allocations: 12.03 kB / 0.7201 GB, free: 27.15 MB / 0.502 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.8458, allocations: 39.53 kB / 0.7201 GB, free: 27.11 MB / 0.502 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.8463, allocations: 275.4 kB / 0.7204 GB, free: 26.8 MB / 0.502 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.8464, allocations: 12 kB / 0.7204 GB, free: 26.79 MB / 0.502 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.8465, allocations: 26.19 kB / 0.7204 GB, free: 26.77 MB / 0.502 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006077/0.8471, allocations: 174.9 kB / 0.7206 GB, free: 26.6 MB / 0.502 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.8479, allocations: 226.2 kB / 0.7208 GB, free: 26.37 MB / 0.502 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.8479, allocations: 0 / 0.7208 GB, free: 26.37 MB / 0.502 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.848, allocations: 8 kB / 0.7208 GB, free: 26.36 MB / 0.502 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.848, allocations: 11.94 kB / 0.7208 GB, free: 26.35 MB / 0.502 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.8671, allocations: 1.038 MB / 0.7218 GB, free: 25.25 MB / 0.502 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.8676, allocations: 195 kB / 0.722 GB, free: 25.05 MB / 0.502 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.868, allocations: 129.8 kB / 0.7221 GB, free: 24.92 MB / 0.502 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.868, allocations: 8.219 kB / 0.7221 GB, free: 24.91 MB / 0.502 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006658/0.8687, allocations: 431 kB / 0.7226 GB, free: 24.43 MB / 0.502 GB Notification: Performance of pre-optimization done (n=42): time 4.382e-06/0.8687, allocations: 0 / 0.7226 GB, free: 24.43 MB / 0.502 GB Notification: Performance of matching and sorting (n=42): time 0.001218/0.87, allocations: 374.9 kB / 0.7229 GB, free: 24.05 MB / 0.502 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.8701, allocations: 413.8 kB / 0.7233 GB, free: 23.55 MB / 0.502 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.8704, allocations: 188 kB / 0.7235 GB, free: 23.36 MB / 0.502 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.8705, allocations: 33.7 kB / 0.7235 GB, free: 23.32 MB / 0.502 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.8707, allocations: 184.5 kB / 0.7237 GB, free: 23.14 MB / 0.502 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.8708, allocations: 106.5 kB / 0.7238 GB, free: 23.03 MB / 0.502 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.8709, allocations: 0 / 0.7238 GB, free: 23.03 MB / 0.502 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.871, allocations: 346.8 kB / 0.7241 GB, free: 22.68 MB / 0.502 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.8713, allocations: 93.06 kB / 0.7242 GB, free: 22.59 MB / 0.502 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.8717, allocations: 176.6 kB / 0.7244 GB, free: 22.39 MB / 0.502 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.872, allocations: 108.8 kB / 0.7245 GB, free: 22.29 MB / 0.502 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.738e-06/0.8721, allocations: 0 / 0.7245 GB, free: 22.29 MB / 0.502 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001266/0.8733, allocations: 412.3 kB / 0.7249 GB, free: 21.88 MB / 0.502 GB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.8734, allocations: 93.09 kB / 0.725 GB, free: 21.77 MB / 0.502 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.8735, allocations: 0.75 kB / 0.725 GB, free: 21.77 MB / 0.502 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.8739, allocations: 80.78 kB / 0.7251 GB, free: 21.68 MB / 0.502 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.8743, allocations: 43.92 kB / 0.7251 GB, free: 21.64 MB / 0.502 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.8769, allocations: 1.69 MB / 0.7267 GB, free: 19.84 MB / 0.502 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.8776, allocations: 75.69 kB / 0.7268 GB, free: 19.77 MB / 0.502 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.8776, allocations: 16 kB / 0.7268 GB, free: 19.75 MB / 0.502 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition11,$PRE.B1.open,B1.open,$whenCondition9,$PRE.B2.open,B2.open,$whenCondition7,$PRE.B3.open,B3.open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B1.triggered,B1.triggered,$PRE.B1.G,B1.G,$PRE.B1.timeClose,B1.timeClose,$PRE.B2.triggered,B2.triggered,$PRE.B2.G,B2.G,$PRE.B2.timeClose,B2.timeClose,$PRE.B3.triggered,B3.triggered,$PRE.B3.G,B3.G,$PRE.B3.timeClose,B3.timeClose) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.8779, allocations: 224.4 kB / 0.727 GB, free: 19.5 MB / 0.502 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.8781, allocations: 35.62 kB / 0.7271 GB, free: 19.47 MB / 0.502 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.512e-05/0.8782, allocations: 31.39 kB / 0.7271 GB, free: 19.44 MB / 0.502 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-06/0.8782, allocations: 4 kB / 0.7271 GB, free: 19.43 MB / 0.502 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.8782, allocations: 0.5 kB / 0.7271 GB, free: 19.43 MB / 0.502 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.762e-06/0.8782, allocations: 7.984 kB / 0.7271 GB, free: 19.43 MB / 0.502 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.8788, allocations: 333.8 kB / 0.7274 GB, free: 19.06 MB / 0.502 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-06/0.8788, allocations: 0 / 0.7274 GB, free: 19.06 MB / 0.502 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.879, allocations: 15.98 kB / 0.7275 GB, free: 19.05 MB / 0.502 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.8795, allocations: 80.81 kB / 0.7275 GB, free: 18.96 MB / 0.502 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.8795, allocations: 4 kB / 0.7275 GB, free: 18.96 MB / 0.502 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0186/0.8981, allocations: 1.685 MB / 0.7292 GB, free: 17.16 MB / 0.502 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.321e-06/0.8982, allocations: 0 / 0.7292 GB, free: 17.16 MB / 0.502 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.9014, allocations: 1.597 MB / 0.7307 GB, free: 15.45 MB / 0.502 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.9016, allocations: 108.7 kB / 0.7308 GB, free: 15.32 MB / 0.502 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.9018, allocations: 8 kB / 0.7309 GB, free: 15.32 MB / 0.502 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.9023, allocations: 60.05 kB / 0.7309 GB, free: 15.26 MB / 0.502 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.9025, allocations: 39.94 kB / 0.7309 GB, free: 15.22 MB / 0.502 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.9026, allocations: 16 kB / 0.731 GB, free: 15.2 MB / 0.502 GB Notification: Performance of sorting global known variables: time 0.0002031/0.9028, allocations: 152.5 kB / 0.7311 GB, free: 15.05 MB / 0.502 GB Notification: Performance of sort global known variables: time 8.41e-07/0.9028, allocations: 0 / 0.7311 GB, free: 15.05 MB / 0.502 GB Notification: Performance of remove unused functions: time 0.00107/0.9039, allocations: 139.6 kB / 0.7312 GB, free: 14.92 MB / 0.502 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B1.open,B1.triggered,B1.G,B1.timeClose,B2.open,B2.triggered,B2.G,B2.timeClose,B3.open,B3.triggered,B3.G,B3.timeClose) * Number of discrete states: 15 (B1.timeClose,B1.triggered,$whenCondition2,$whenCondition1,B2.timeClose,B2.triggered,$whenCondition4,$whenCondition3,B3.timeClose,B3.triggered,$whenCondition6,$whenCondition5,B3.open,B2.open,B1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/0.9043, allocations: 161 kB / 0.7314 GB, free: 14.75 MB / 0.502 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.9057, allocations: 0.591 MB / 0.732 GB, free: 14.11 MB / 0.502 GB Notification: Performance of simCode: created event and clocks part: time 5.969e-06/0.9057, allocations: 0 / 0.732 GB, free: 14.11 MB / 0.502 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.9066, allocations: 0.4957 MB / 0.7325 GB, free: 13.57 MB / 0.502 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.9071, allocations: 32.64 kB / 0.7325 GB, free: 13.54 MB / 0.502 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.9086, allocations: 0.6096 MB / 0.7331 GB, free: 12.9 MB / 0.502 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.909, allocations: 0.8034 MB / 0.7339 GB, free: 12.07 MB / 0.502 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.9093, allocations: 31.22 kB / 0.7339 GB, free: 12.04 MB / 0.502 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.9094, allocations: 23.44 kB / 0.7339 GB, free: 12.02 MB / 0.502 GB Notification: Performance of SimCode: time 1.748e-06/0.9094, allocations: 0 / 0.7339 GB, free: 12.02 MB / 0.502 GB Notification: Performance of Templates: time 0.03135/0.9407, allocations: 4.112 MB / 0.7379 GB, free: 7.902 MB / 0.502 GB